Day 16 Task: Docker for DevOps Engineers.

Day 16 Task: Docker for DevOps Engineers.

Day 16 Task: Docker for DevOps Engineers.


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

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

No alt text provided for this image


  • Use the?docker run?command to start a new container and interact with it through the command line. [Hint: docker run hello-world]

No alt text provided for this image
No alt text provided for this image



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

No alt text provided for this image


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

No alt text provided for this image


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

No alt text provided for this image


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

No alt text provided for this image


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

No alt text provided for this image


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

No alt text provided for this image


These tasks involve simple operations that can be used to manage images and containers.


#aws #linux #docker #containers

要查看或添加评论,请登录

Manish Negi的更多文章

社区洞察

其他会员也浏览了