Jenkins with Docker and Kubernetes Quiz Questions and Answers

How do you access a running container?

Answer :
  • Docker exec -it con0id

Is docker free for windows ?

Answer :
  • yes

How to delete a stopped container?

Answer :
  • Docker rm ID

How do you get the number of containers running, paused, and stopped?

Answer :
  • Docker info

What are the features of the Docker engine?

Answer :
  • All of the above

How to stop a container?

Answer :
  • Docker stop con-id

Which command to look for all containers either stopped or running?

Answer :
  • Docker ps -a

What is the name of the central location of Docker images?

Answer :
  • Docker hub

Once you’ve worked with an image, how do you push it to the Docker hub?

Answer :
  • Docker push

Docker images can be deployed to any Docker environment.

Answer :
  • True