docker:accueil

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
docker:accueil [2024/03/27 10:06] – add docker cp phswdocker:accueil [2025/10/30 21:58] (Version actuelle) – add link phsw
Ligne 4: Ligne 4:
   * [[https://jakub-m.github.io/2022/09/10/docker.html|Running Docker images without Docker]]   * [[https://jakub-m.github.io/2022/09/10/docker.html|Running Docker images without Docker]]
   * [[https://docker-curriculum.com|Docker for beginners]]   * [[https://docker-curriculum.com|Docker for beginners]]
 +  * [[https://blog.stephane-robert.info/docs/conteneurs/moteurs-conteneurs/docker-network/|Comprendre le réseau Docker]]
 +  * [[https://tbhaxor.com/docker-containers-security/#__do_not_save__|Docker Containers Security]]
 +  * [[https://danlevy.net/docker-security-tips-for-self-hosting/|Essential Docker Security Tips for Self-Hosting]]
  
  
Ligne 67: Ligne 70:
 ==== Copie de fichiers entre containers démarrés et hôte ==== ==== Copie de fichiers entre containers démarrés et hôte ====
  
-[[https://stackoverflow.com/questions/22907231/how-to-copy-files-from-host-to-docker-container|source]]+[[https://stackoverflow.com/questions/22907231/how-to-copy-files-from-host-to-docker-container|Source]]
  
 <code bash> <code bash>
 docker cp 77e7:/etc/php/8.1/fpm/php.ini . docker cp 77e7:/etc/php/8.1/fpm/php.ini .
 +</code>
 +
 +
 +==== Lancer une application graphique ====
 +
 +[[https://stackoverflow.com/questions/65642916/running-a-qt-gui-in-a-docker-container|Source]]
 +
 +<code bash>
 +docker run -it --rm -e "DISPLAY=$DISPLAY" -v "$HOME/.Xauthority:/root/.Xauthority:ro" debian:latest
 +</code> 
 +
 +
 +==== Libérer de l'espace disque occupé par Docker ====
 +
 +<code bash>
 +sudo docker system prune -a --volumes
 </code> </code>
  
Ligne 89: Ligne 108:
 sudo service docker restart sudo service docker restart
 </code> </code>
 +
 +
 +==== Fonctionnement de Docker ====
 +
 +  * [[https://muhammadraza.me/2024/building-container-runtime-python/|Understanding Docker Internals: Building a Container Runtime in Python]]
  • docker/accueil.1711530395.txt.gz
  • Dernière modification : 2024/03/27 10:06
  • de phsw