Containers Flashcards
What is the difference between windows and hyper-v containers?
Windows containers share the kernal
Hyper-V provides isolation at the container level (multi-tenant environments)
What is the client side component of docker?
docker.exe
What is the server side component of docker?
dockerd.exe
How do you install docker on Nano server with PoSH?
Import-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
What is the docker command to create an image from an existing container?
docker commint
What is the docker command to stop a running container?
docker stop
What is the docker command to view container state and settings?
docker inspect
What is the docker command to delete a container?
docker rm
What is the docker command to see all containers?
docker ps -a
What is the docker command to see only running containers?
docker -ps
What are tagged images in docker?
Versions
What is the docker create a persistent container from an image?
docker run ping -t localhost
What docker command allows you to run a command in a container?
docker exec