GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

2 Docker Commands

Archimed Nemes Kodekloud Docker basics Easy Englisch 18 Karten

Karten in diesem Stapel (18)

  1. 1Run a container from an imagedocker run
  2. 2Run an instance of nginx application on the docker hostdocker run nginx
  3. 3What does docker run do f image is not present on host?It will go out to docker hub and pull the image (for firs time)
  4. 4List all running containers and some basic infomationdocker ps
  5. 5What does each container automatically get from dockercontainer id an dname
  6. 6View all containers running or notdocker ps -a
  7. 7Stop docker containerdocker stop "name" or container id
  8. 8Remove container altogetherdocke rm "name"
  9. 9View list of imagesdocker images
  10. 10Remove nginx imagedocker rmi nginx
  11. 11What should you check before removing container imageCheck if containers are running off of that image
    then stop and delete those containers
  12. 12Download only nginx image and not run the containerdocker pull nginx
  13. 13What happens first when we run the following commang docker run ubuntuIt runs an instance of ubuntu and exits immediately
  14. 14Instruct ubuntu container to sleep with duration 5 secondsdocker run ubuntu sleep 5
  15. 15View /etc/hosts command in alibala containerdocker exec alibala cat /etc/hosts
  16. 16Run docker container in detached modedocker run -d "name"
  17. 17Attach docker containerdocker attach container id
  18. 18Run docker centos second time then execute bash command and log into containerdocker run -it centos bash

Informationen

Beschreibung
Easy Kodekloud Docker basics Karteikarten am 2 Docker Commands, erstellt von Archimed Nemes am 22/12/2022.
Erstellt von
Archimed Nemes
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck