Docker — open source popular software for development and deployment. Its advantage lies in the fact that it provides ability of isolation applications, which makes it easy to develop, test and deploy for different environments. Commands of this software provide convenient ability for manage containers and all which everything connected with them (images, networks, volumes, and other). Understanding and using these commands is an important skill for developers and system administrators.
Management
Create from an image and then run
Start of previously stopped
Shut down container
restart
Removal
Output started
log output
Creating a new container without running it. The command creates a new container based on the image specified in the command and assigns it a unique ID
Displaying a list of already started
Displaying detailed info
Stop
Manage images
Download from storage
Building from a so-called Dockerfile
Submitting to the repository
Deleting from local storage
Creation history display
Displaying information about local images
Network Management
New network
Displaying information about networks
Network connection
Disconnecting from networks
Working with volumes
Creating a new
List output
Removal
Information output
Resource management
Displaying container resource usage
Suspension of work
Resumption of work
Resource Upgrade
Monitoring and Debugging
Launching command within container
Displaying information about images, containers, and networks
Showing processes within a container
Connecting directly to started container
Docker Swarm Support
Running the Docker Swarm initialization procedure on the current node
Joining a node to Swarm
Create a service
List of running services
These commands represent only a portion of the functions available within Docker. More detailed information on each command can be found in the official Docker documentation. Our aim is for this article to enhance your comprehension of Docker commands and assist you in their practical application.