O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

2 Docker Commands

Archimed Nemes Kodekloud Docker basics Easy Inglês 18 flashcards

Flashcards do 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

Informações

Descrição
Easy Kodekloud Docker basics FlashCards sobre 2 Docker Commands, criado por Archimed Nemes em 22-12-2022.
Criado por
Archimed Nemes
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?