Assignment for Docker Day 1
Q1. Explain What is Docker Container with image?
A docker image contains all the dependencies needed to make an application run
A docker image is run in a docker container. Any no.of containers can run the same image.
Q2. What is the differenece between docker stop and docker kill?
Docker stop is gracefully stopping a container, first SIGTEM is sent for cleanup and then SIGKILL
Docker kill is forcefully terminating a container directly sending SIGKILL
Q3. What is the difference between docker pause and docker unpause?
Docker pause pauses the execution of container, suspends all processes
Docker unpuase resumes the execution of all processes