Repository for homelab configurations and other self-hosted things.
- install docker by adding apt repositories
- add user to docker group (run docker without root)
groupadd docker usermod -aG docker $USER # logout and login # check groups groups | grep docker # test again docker run hello-world
- Check running dockers:
docker ps
- Run shell inside running docker:
docker exec -it <container id> bash
- Run docker compose daemon:
docker compose up -d
- Note: needs to be in same folder as the respective
docker-compose.yml
file
- Note: needs to be in same folder as the respective
- Stop docker compose daemon:
docker compose down