# Day-16 #90daysofdevops

# Tasks

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

* Use the `docker run` command to start a new container and interact with it through the command line. \[Hint: docker run hello-world\]
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1693142851332/b18e6607-404a-402a-b705-2baa2f059363.png align="center")
    
* Use the `docker inspect` command to view detailed information about a container or image
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1693143019363/f3c8086d-155d-4c85-9a54-d53db2c83fc7.png align="center")
    
* Use the `docker port` command to list the port mappings for a container
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1693143204221/7839c9f9-13a6-4ae2-88aa-67ed15e39e32.png align="center")
    
* Use the `docker stats` command to view resource usage statistics for one or more containers
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1693143258165/560bfedc-f2fa-4bb8-87e8-bfb026d2a95a.png align="center")
    
* Use the `docker top` command to view the processes running inside a container.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1690721261270/030fc45e-a144-445c-8cae-912e5263a05e.png?auto=compress,format&format=webp align="left")
    
* Use the `docker save` command to save an image to a tar archive.
    
    ![No alt text provided for this image](https://media.licdn.com/dms/image/D4D12AQHUN0k9ZVSfpQ/article-inline_image-shrink_1500_2232/0/1674024129937?e=1696464000&v=beta&t=WvEb8JulCej5rCDR87wWZLzV_15liRDhS9mYop9JX98 align="left")
    
* Use the `docker load` command to load an image from a tar archive.
    
    ![No alt text provided for this image](https://media.licdn.com/dms/image/D4D12AQG-MJOdQDArvQ/article-inline_image-shrink_1500_2232/0/1674024558782?e=1696464000&v=beta&t=O9_aKDhun4iMZOPc84jeVLoMpDjYblzJp_m9DDG4jBs align="left")
    

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

Thanks
