What are the components of Docker Engine?
Docker CLI, Docker Daemon, REST API
What component of the docker engine manages the images, containers, volumes, and networks on a host?
Docker Daemon
What component of the Docker architecture is responsible for managing containers on Linux on version 1.15 of Docker Engine?
LibContainer
We can run containers without installing Docker?
True
Which component is responsible for keeping the containers alive when the Docker Daemon goes down?
Containerd-Shim
What are the primary objects that Docker engine manages?
By default, data stored inside the container is always persistent?
False
By default, Docker is configured to look for images on Google Cloud Registry?
False
Which component is a read-only template used for creating a Docker container?
Docker Images
What is the default data directory for Docker?
/var/lib/docker
What does OCI stand for?
Open Container Initiative
What are the 2 specifications from OCI?
- image-spec
What is the command to view the version of docker engine installed?
docker version
What is the command to start docker daemon manually?
dockerd
On what interfaces are the docker daemon made available by default?
Unix Socket
What is the port conventionally used to configure un-encrypted traffic on TCP?
2375
What file is used to configure the docker daemon?
What flags are used to configure encryption on docker daemon?
tlsverify, tlscert, tlskey
What is the default network driver used when a container is created?
bridge
What is the command used to list the running containers on the Docker Host?
docker container ls
Which of the below commands create a container with nginx image and name nginx?
docker container create –name nginx nginx
How to list all running and stopped containers and their status?
docker container ls -a
How to start a stopped Container?
docker container start nginx
How do I get only the IDs of running containers?
docker container ls -q
unless-stopped restart policy?
docker container upgrade --restart unless-stopped $(docker container ls -q)
docker container update --restart unless-stopped $(docker container ls -q)
docker container upgrade --restart unless-stopped $(docker container ls -aq)
docker container update --restart unless-stopped $(docker container ls -aq)
docker container ps SERVICE-NAME
docker container ls
–update-failure-action ?
```
pause
continue
stop
rollback
rolling-update
```
’disk=ssd' label to worker1 in a swarm cluster.
docker node update --label-add disk=ssd worker1
docker node update --label-rm disk=ssd worker1
docker service update --labels disk=ssd worker1
docker service update --container-label disk=ssd worker1
webapp?
docker stack deploy webapp
docker stack ls webapp
docker stack services webapp
docker stack ps webapp
docker swarm join command to join the new node to the cluster.
Deploy an instance of the ucp-agent on the new node.
ucp-agent then installs the necessary components on the worker node.
docker swarm join command to join the new node to the cluster.
ucp-agent then installs the necessary components on the worker node.