Installer d’abord CURL :
[pastacode lang= »markup » manual= »apt%20install%20curl » message= » » highlight= » » provider= »manual »/]
Puis installer docker à partir du site officiel :
[pastacode lang= »markup » manual= »curl%20-fsSL%20https%3A%2F%2Fget.docker.com%20%7C%20sh » message= » » highlight= » » provider= »manual »/]
Ne lancez pas vos docker en root mais avec un utilisateur :
If you would like to use Docker as a non-root user, you should now consider
adding your user to the « docker » group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
WARNING: Adding a user to the « docker » group will grant the ability to run
containers which can be used to obtain root privileges on the
docker host.
Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
for more information.