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

Flashcards

6 Docker engine storge

Archimed Nemes Kodekloud Docker basics Easy Inglês 21 flashcards

Flashcards do conjunto (21)

  1. 1What components are installed during Linux installation of DockerDocker Daemon
    Rest API server
    Docker CLI
  2. 2What is Docker DaemonBackground process that manages Docker objects such as images containers volumes networks
  3. 3What is Docker REST API serverAPI interface that programs use to talk to Docker daemon and provide isntructions
  4. 4Using Docker CLI on one laptop use Docker Engine on remote host port 2375docker -H=remote-docker-engine:2375
  5. 5Run nginx container on a remote host (IP_ 10.123.2.1)docker -H=10.123.2.1:2375 run nginx
  6. 6What does docker use for isolation?Namespace
  7. 7What are created for isolation in their own namespace?Network
    Process id
    Unix Timesharing
    Mount
    Interprocess
  8. 8What happends during Linux system boot?PID 1 starts (root) and it kicks off other processes
  9. 9How resources allocated to container can be restricted?Using control groups
  10. 10Explain namsespacesLook in the lecture
  11. 11Restrict amount of CPU in docker ubuntu to 50 percentducker run --cpus=.5 ubuntu
  12. 12Limit memory to 100 m in ubuntu containerdocker run --memory=100m ubuntu
  13. 13Docker storageWatch lecture
  14. 14Create persistent storagedocker volume create data_volume
  15. 15What happens when we execute the following command docker volume create data_volumedata_volume folder is created under
    /var/lib/docker then volumes
  16. 16Mount data_volume to /var/lib/mysqldocker run -v data_volume:/var/lib/mysql mysql
  17. 17Store data in /data/mysql and not in default data_volumedocker run -v /data/mysql:/var/lib/mysql mysql
  18. 18Write the following in more modern way docker run -v /data/mysql:/var/lib/mysql mysqldocker run --mount type=bind, source=/data/mysql, target=/var/lib/mysql mysql
  19. 19What is other way of connecting to Docker network from outside besides mapping ports?Associating internal network to external
  20. 20Create docker network 192.168.0.0/16 in bridgedocker network create \
    --drive bridge \
    -- subnet 192.168.0.0/16
  21. 21View network settings of containerdocker inspect container_name

Informações

Descrição
Easy Kodekloud Docker basics FlashCards sobre 6 Docker engine storge, criado por Archimed Nemes em 24-12-2022.
Criado por
Archimed Nemes · dez 2022
Atualizado
24 dez 2022
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?