GTUTO
https://www.gtuto.com/docker-sur-debian-9/
Export date: Wed May 1 22:02:46 2024 / +0000 GMT

DOCKER sur Debian 9


apt update
apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt update
apt install docker-ce
systemctl status docker
docker search nom_du_module
docker container ls --all // -> liste -> ID du container
docker stop ID // arret
docker rm ID  // enlève l'image
docker images ls
docker stop $(docker ps -a -q)  // stop tout
docker rm $(docker ps -a -q)    // enlève tout

Exemples

docker run -v /home/www/monsite:/var/www/html -p 9000:9000 --restart=always andthensome/docker-php-5.3-fpm

docker run -v /home/docker/test12/www:/var/www/html  -p 82:80   --restart=always  nouphet/docker-php4

https://doc.ubuntu-fr.org/docker_lamp 1

Links:
  1. https://doc.ubuntu-fr.org/docker_lamp
Post date: 2019-06-29 11:11:58
Post date GMT: 2019-06-29 11:11:58

Post modified date: 2020-02-19 21:56:13
Post modified date GMT: 2020-02-19 21:56:13

Export date: Wed May 1 22:02:46 2024 / +0000 GMT
This page was exported from GTUTO [ https://www.gtuto.com ]
Export of Post and Page has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com