You want to see a list of all running containers. Which command do you use?
docker exec
docker images
docker ps
docker run
How would you build or rebuild services without starting them in Docker Compose?
docker-compose up --build
docker-compose create --build
docker-compose start --build
docker-compose build
How do you specify a command to be executed when a Docker container starts using a Dockerfile?
ENTRYPOINT
CMD
ENV
RUN
What is the core functionality of Docker?
Automating software deployments
Managing virtual machines
Compiling code into executable programs
Building and running applications in isolated environments
Which command is used to download a Docker image from a registry?
docker push
docker pull
docker build
You want a container to have NO network access at all. Which Docker networking mode should you use?
Isolate
Host
None
Bridge
What is a Docker image essentially composed of?
A collection of files and configuration needed to run an application
A snapshot of your computer's current state
A virtual machine image
A compiled binary executable
What port does the Docker daemon typically listen on?
80
2377
8080
443
In a 'docker-compose.yml' file, what is the keyword used to define a service?
container
service
app
image
Which command will start a new container from an image?
docker create
docker start