S
Q. What is the default command that Docker runs in a container if no command is specified?
If no command is specified, Docker will use the default command specified in the Dockerfile as CMD.
You must be Logged in to update hint/solution
Q. How can you scale a service in Docker Compose?
Q. Which command can be used to check the version of Docker installed?
Q. What is a 'Docker network'?
Q. What is the default network driver used by Docker?
Q. Which of the following command removes all unused images, containers, and networks?
Q. What is the purpose of the 'docker-compose exec' command?
Q. How do you restart services in Docker Compose?
Q. What does the 'docker exec -it container_name /bin/sh' command do?
Q. Which command is used to attach a running container to a network?
Q. Which of the following is a valid Docker command to start a new container?
Discusssion
Login to discuss.