7. List of 20 docker commands and its use cases with example? by Ramalakshmi

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now docker pull: pull the image from the docker hubdocker ps: list the running containersdocker ps -a: list the running and stopped containersdocker start start the containerdocker stop: stop the one or more running containersdocker restart: restart the containerdocker rm: remove the containerdocker exec: runs a new command in a running containerdocker image: show all

Read more

6. What is the differenet between CMD vs Entrypoint? by Ramalakshmi

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now CMD: Default parameters can be override from the Command Line Interface when container is runningENTRYPOINT: Default parameters cannot be override from the Command Line Interface when Container running

Read more

5. List of dockerfile instructions and its Brief Summary? by Ramalakshmi

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now FROM: specify the valid docker image name, LABEL: metadata infomation to the image, ADD: copy files, directories and remote URL files to the destination, RUN: executes any command, WORKDIR: set the working directory, ENV: set environment variables with key and value, COPY: copy files, directories and remote URL files to the destination, MAINTAINER: author

Read more

1. Components of Docker and its Brief Summary? by Ramalakshmi

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Docker follows Client-Server architecture. Docker having three main components Docker Client, Docker Host, and Docker Registry.Docker Client: Docker client uses REST APIs to communicate with the Docker server when the client send commands to the server, server receives commands in the form of REST APIs request.Docker Host: Docker Host is used to provide an

Read more

4. What is the differenet between docker exec and attach? by Ramalakshmi

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now docker exec executes a new command or create a new process in the container. while docker attach just connects the standard input or output or error to a running container using the container ID or name

Read more

3. What is the differenet between docker stop and kill? by Ramalakshmi

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Stop: The docker stop command stop one or more running containers, By sending “SIGTERM” signal inside the container and stop the processKill: The docker kill command kill one or more running containers, By sending “SIGKILL” signal inside the container and kill the process immediately

Read more

2. What is the differenet between docker pause and unpause? by Ramalakshmi

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Pause: The docker pause command suspends all processes in the specified containers. when suspending a process the SIGSTOP signal is used, which is observable by the process being suspendedUnpause: The docker unpause command unsuspends all processes in the specified containers.

Read more