Docker Stuff
Install docker
Docker Compose: Add user to docker group: Put it in a scriptBash
Or simply run:
#!/bin/bash
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo apt install -y docker-compose
sudo usermod -aG docker $USER
Bash
curl -fsSL https://get.docker.com -o get-docker.sh && \
sudo sh get-docker.sh && \
sudo usermod -aG docker $USER && \
sudo apt install -y docker-compose && \
echo "" && \
echo "logout and login back so the $USER pickups docker group"
Basic Docker Stuff
- Dockerfile
- docker compose stacks
- docker compose for swarm stack