Skip to content

Instantly share code, notes, and snippets.

@kgaut
Created February 4, 2020 14:34
Show Gist options
  • Save kgaut/5ba19667c9a03e02abba0ec633306224 to your computer and use it in GitHub Desktop.
Save kgaut/5ba19667c9a03e02abba0ec633306224 to your computer and use it in GitHub Desktop.
Installation et configuration de docker et docker compose sous Ubuntu
# Installation de docker
sudo apt-get install docker.io
# Installation de docker compose
curl -L https://github.com/docker/compose/releases/download/1.25.3/docker-compose-`uname -s`-`uname -m` > docker-compose
sudo mv docker-compose /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# On s'ajoute au groupe « docker »
sudo usermod -a -G docker $(id -un)
# Pour le bon fonctionnement des images Alpine
sudo groupadd -r -g 82 alpine-www-data
sudo usermod -a -G alpine-www-data $(id -un)
# Pensez à reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment