Computer Science Mojo

~ David's Notes on coding, software and computer science




Post

MX Linux setting up docker and docker-compose

Category: Linux     Tag: docker  
By: David     On: Sat 22 February 2020     

Steps to set up docker and docker-compose on MX Linux

docker installation

  1. install docker using the debian repos: https://docs.docker.com/install/linux/docker-ce/debian/
  2. add users to the docker group, and logout and back in: https://docs.docker.com/install/linux/linux-postinstall/
sudo groupadd docker
sudo usermod -aG docker $USER
  1. start docker
sudo service docker start

docker-compose installation

  • install docker-compose: https://docs.docker.com/compose/install/
  • Alternation this is under Debian packages - though this may be a few versions behind