Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 600 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 600 Bytes

projet_admin_II

Commandes docker utile :

  • Créer une image : docker build -t [image-name]

  • Créer un container : docker run -tid -p [container-port]:[host-machine-port] --name [container-name] [image-name]

  • Créer un tag : docker tag [image-name] loulou42/m1-4_adminproject:[tag-name]

  • Afficher les containers : docker ps -a

  • Push un tag sur dockerhub : docker push loulou42/m1-4_adminproject:[tag-name]

  • Executer des commande dans un container : docker exec -it [container-name] bash

  • Chercher une image sur dockerhub : docker pull loulou42/m1-4_adminproject:[tag-name]