Day 16 Task: Docker for DevOps Engineers.

Day 16 Task: Docker for DevOps Engineers.

What is Docker?

Docker is a software platform that allows you to build, test, and deploy applications quickly. Docker packages software into standardized units called containers that have everything the software needs to run including libraries, system tools, code, and runtime. Using Docker, you can quickly deploy and scale applications into any environment and know your code will run.

Docker Architecture:

-As you have already installed docker in previous days tasks, now is the time to run Docker commands.

-install apt-get docker.io

-Use the docker inspect command to view detailed information about a container or image.

-Use the docker port command to list the port mappings for a container.

-Use the docker stats command to view resource usage statistics for one or more containers.

  • Use the docker top command to view the processes running inside a container.

-Use the docker save command to save an image to a tar archive.

You can use gzip to save the image file and make the backup smaller.

-Use the docker load command to load an image from a tar archive.

Load an image or repository from a tar archive (even if compressed with gzip, bzip2, or xz) from a file or STDIN. It restores both images and tags.

Thank you for reading!! Hope you find this helpful.

#day16#90daysofdevops#devopscommunity

Always open for suggestions..!!

Thank you Shubham Londhe.