L's notes

Container: Docker

Random linux server tips, this time: Application containers with Docker

Install: https://docs.docker.com/engine/install/ubuntu/ DO NOT INSTALL FROM PACKAGE OR SCRIPT

Test: docker --version

Post Install

add to systemd autostart:

$ sudo systemctl enable docker.service

add docker compose: https://docs.docker.com/compose/install/#install-compose

$ sudo curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-(unamem)"o/usr/local/bin/dockercompose(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose

test docker compose:

$ docker-compose --version

Docker Security

20210328203831 Be sure to check out [[system-security]] for basic tips on that.

Show Graph Visualisation