This is an old revision of the document!
installation de docker desktop sur windows 11
apres l'installation initial, impossible de se connecter / lancer Docker destop , il faut que notre user non privilegier appartienne au croupe docker ! apres ça il faut fermer la session et la relancer , autrement on n'est tj pas dans le groupe docker .
https://forums.docker.com/t/error-when-trying-to-run-windows-containers-docker-client-must-be-run-with-elevated-privileges/136619/2 https://serverfault.com/questions/532106/get-list-of-ad-groups-a-user-is-a-member-of
C:\Users\jehan>docker images REPOSITORY TAG IMAGE ID CREATED SIZE C:\Users\jehan>docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES C:\Users\jehan>docker pull nginx:1.27.2 1.27.2: Pulling from library/nginx 2d429b9e73a6: Pull complete 9b1039c85176: Pull complete 9ad567d3b8a2: Pull complete 773c63cd62e4: Pull complete 1d2712910bdf: Pull complete 4b0adc47c460: Pull complete 171eebbdf235: Pull complete Digest: sha256:bc5eac5eafc581aeda3008b4b1f07ebba230de2f27d47767129a6a905c84f470 Status: Downloaded newer image for nginx:1.27.2 docker.io/library/nginx:1.27.2 C:\Users\jehan>docker images REPOSITORY TAG IMAGE ID CREATED SIZE nginx 1.27.2 60c8a892f36f 5 weeks ago 192MB
running an image creates a instance of the image = container
C:\Users\jehan>docker run nginx:1.27.2 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2024/11/12 14:38:28 [notice] 1#1: using the "epoll" event method 2024/11/12 14:38:28 [notice] 1#1: nginx/1.27.2 2024/11/12 14:38:28 [notice] 1#1: built by gcc 12.2.0 (Debian 12.2.0-14) 2024/11/12 14:38:28 [notice] 1#1: OS: Linux 5.15.153.1-microsoft-standard-WSL2 2024/11/12 14:38:28 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2024/11/12 14:38:28 [notice] 1#1: start worker processes 2024/11/12 14:38:28 [notice] 1#1: start worker process 29 2024/11/12 14:38:28 [notice] 1#1: start worker process 30 2024/11/12 14:38:28 [notice] 1#1: start worker process 31 2024/11/12 14:38:28 [notice] 1#1: start worker process 32 2024/11/12 14:38:28 [notice] 1#1: start worker process 33 2024/11/12 14:38:28 [notice] 1#1: start worker process 34 2024/11/12 14:38:28 [notice] 1#1: start worker process 35 2024/11/12 14:38:28 [notice] 1#1: start worker process 36 2024/11/12 14:38:28 [notice] 1#1: start worker process 37 2024/11/12 14:38:28 [notice] 1#1: start worker process 38 2024/11/12 14:38:28 [notice] 1#1: start worker process 39 2024/11/12 14:38:28 [notice] 1#1: start worker process 40 dans un autre terminal C:\Users\jehan>docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3c24edd9cc6d nginx:1.27.2 "/docker-entrypoint.…" 2 minutes ago Up 2 minutes 80/tcp xenodochial_babbage