Assignment for docker day 1

Q1. Explain What is Docker Container with image? Docker container image is the lightweight independent runtime app run time environment.  As said, it contains everything needed to run application. Container is the collection of an user attached to 1 root FS 1 Network & 1 PID. Creation of user session, root file system, network, pid etc will be done by kernel using namespaces. Docker software will directly talk to kernel for this purpose inorder to bypass OS restriction(PC architecture).

Read more

Explain What is Docker Container with image?

Docker Container: A running instance of docker container image. Docker Container Image: It is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings. Its basically a collection of file systems. It will have a ROOT FS, USER FS and one or more APP FS. Can use single container image to run multiple containers.

Read more

Assignment for docker day 1

3. What is the difference between docker pause and docker unpause? Pause and Unpause are the basic commands in docker.1. pause Pause all processes within one or more containers Eg: docker pause abhi abhi1 2. unpause Unpause all processes within one or more containers Eg: docker unpause abhi abhi1

Read more

Differenece between docker stop and docker kill

Docker stop : Stop a running container (send SIGTERM, and then SIGKILL after grace period). Will try to stop it gracefully.If process is not stopped gracefully it will send a kill command after a specific grace period. Docker kill : Kill a running container (send SIGKILL, or specified signal). This will stop the main entrypoint process/program abruptly. Any pending file system changes that the main process still had in memory will be lost, so the file system might end up

Read more

Docker Pause and Docker Unpause

The commands docker pause <container_name> and docker unpause <container_name> are used to temporarily suspend or pause the running container. While running the docker pause command the memory will be there, but the running container will be stopped and while running the docker unpause command the paused container will resume and start with the pre-existing memory.

Read more

What is Docker Container

Docker container is a lightweight execution environment where a user can run their applications.These are working application created from docker images and a user can start an instance of the application. All the necessary resource and packages to run an application is availble in the docker image. A container created will have all the root file system that of a linux environment f the image is of linux architecure. for eg: Below is the container started from an httpd docker

Read more
1 63 64 65 66 67 332