Setting up Docker & Docker-Compose
We use docker and docker-compose extensively for development, so it's recommended to set it up in all cases.
How to set up docker/docker-compose on Ubuntu/Debian:
- Install docker:
sudo apt install docker.io
- Install docker-compose:
sudo apt install docker-compose
- Add your user to the
dockergroup so you don't have to use
sudofor invoking docker:
sudo usermod -aG docker $USER.
$USERwill automatically be replaced with your username and this will only take effect until the next login/restart.
- Introduction to docker-compose: https://docs.docker.com/compose/gettingstarted