Tools, FAQ, Tutorials:
"docker" Commands vs. Management Commands
What are the differences between "docker" commands and management commands?
✍: FYIcenter.com
The "docker" client tool supports two sets of commands:
1. Management Commands - A "docker" management command is actually a group of sub-commands that can be used to manage a single data entity used by the Docker Engine.
For example, "docker container ..." is a group of sub-commands to manage containers on the Docker Engine.
2. (Regular) Commands - A "docker" regular command is a command that performs a single task on a specific data entity used by the Docker Engine.
A regular command is usually a short-hand format of a sub-command of a management command. For example, regular command "docker ps" is a short-hand format of the "docker container list" sub-command of the "docker container" management command.
Here is mapping of some regular commands to management sub-commands:
docker ps docker container list docker start docker container start docker stop docker container stop docker run docker container run docker exec docker container exec docker attach docker container attach docker build docker container build
2021-08-13, ∼1808🔥, 0💬
Popular Posts:
How To Use an Array as a Queue in PHP? A queue is a simple data structure that manages data elements...
What is EPUB 2.0 Metadata "dc:creator" and "dc:contributor" elements? EPUB 2.0 Metadata "dc:creator"...
What properties and functions are supported on http.client.HTTPResponse objects? If you get an http....
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common...
Tools, FAQ, Tutorials: JSON Validator JSON-XML Converter XML-JSON Converter JSON FAQ/Tutorials Pytho...