¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

2 Docker Commands

Archimed Nemes Kodekloud Docker basics Easy Inglés 18 fichas

Fichas del conjunto (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

Información

Descripción
Easy Kodekloud Docker basics Fichas sobre 2 Docker Commands, creado por Archimed Nemes el 22/12/2022.
Creado por
Archimed Nemes
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?