Docker for DevOps Engineers.

Hello there👋, I'm Akash Zade and I'm passionate about the world of DevOps. As a curious and dedicated learner🏆, I'm constantly exploring new ways to improve software development and make the process more efficient. With a keen interest 🍁 in cloud computing, containerization, and automation, I'm excited to share my insights and experiences as I navigate the ever-evolving world of DevOps. Join me 🤝 on this awesome journey where technology meets efficiency!
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.
Tasks
Use the
docker runcommand to start a new container and interact with it through the command line.command:
sudo docker run hello-world
Use the
docker inspectcommand to view detailed information about a container or image.command:
sudo docker inspect [containerID]
Use the
docker portcommand to list the port mappings for a container.command:
sudo docker port [containerID]
Use the
docker statscommand to view resource usage statistics for one or more containers.command:
sudo docker stats [containerID]
Use the
docker topcommand to view the processes running inside a container.command:
sudo docker top [containerID]
Use the
docker savecommand to save an image to a tar archive.Use the
docker loadcommand to load an image from a tar archive.docker save:save one or more images to a tar archive (streamed to STDOUT by default)command:
sudo docker save -o [pathtofile.tar] image_nameorsudo docker save image_name > [pathtofile.tar]docker load:load an image from a tar archive or STDINcommand:
sudo docker load -i [pathtofile.tar]
Reference:
Thanks for reading.
Also for your valuable time.
Keep reading.





