Docker User Manuals

Package “Docker User Manuals” has 51 man pages.

is a client for interacting with the daemon (see dockerd(8)) through the CLI. The Docker CLI has over 30 commands. The commands are listed below and each has...
The docker attach command allows you to attach to a running container using the container's ID or name, either to view its ongoing output or to control it...
This will read the Dockerfile from the directory specified in PATH. It also sends any other files and directories found in the current directory to the Docker...
Create a new image from an existing container specified by name or container ID. The new image will contain the contents of the container filesystem, excluding...
The docker cp utility copies the contents of SRC_PATH to the DEST_PATH. You can copy from the container's file system to the local machine or the reverse, from...
Creates a writeable container layer over the specified image and prepares it for running the specified command. The container ID is then printed to STDOUT. This...
Inspect changes on a container's filesystem. You can use the full or shortened container ID or the container name set using docker run --name option.
Get event information from the Docker daemon. Information can include historical information and real-time information.
Run a process in a running container. The command started using docker exec will only run while the container's primary process (PID 1) is running, and will not...
Export the contents of a container's filesystem using the full or shortened container ID or container name. The output is exported to STDOUT and can be...
Show the history of when and how an image was created.
This command lists the images stored in the local Docker repository. By default, intermediate images, used during builds, are not listed. Some of the output...
Create a new filesystem image from the contents of a tarball (.tar, .tar.gz, .tgz, .bzip, .tar.xz, .txz) into it, then optionally tag it.
This command displays system wide information regarding the Docker installation. Information displayed includes the kernel version, number of containers and...
This displays all the information available in Docker for a given container or image. By default, this will render all results in a JSON array. If the container...
The main process inside each container specified will be sent SIGKILL, or any signal specified with option --signal.
Loads a tarred repository from a file or the standard input stream. Restores both images and tags. Write image names or IDs imported it standard output stream.
Log in to a Docker Registry located on the specified SERVER. You can specify a URL or a hostname for the SERVER value. If you do not specify a SERVER, the...
Log out of a Docker Registry located on the specified SERVER. You can specify a URL or a hostname for the SERVER value. If you do not specify a SERVER, the...
The docker logs command batch-retrieves whatever logs are present for a container at the time of execution. This does not guarantee execution order when...
Connects a container to a network. You can connect a container by name or by ID. Once connected, the container can communicate with other containers in the same...
Creates a new network. The DRIVER accepts bridge or overlay which are the built-in network drivers. If you have installed a third party or your own custom...
Disconnects a container from a network.
Returns information about one or more networks. By default, this command renders all results in a JSON object.
Lists all the networks the Engine daemon knows about.
Removes one or more networks by name or identifier. To remove a network, you must first disconnect any containers connected to it.
The docker pause command uses the cgroups freezer to suspend all processes in a container. Traditionally when suspending a process the SIGSTOP signal is used...
List port mappings for the CONTAINER, or lookup the public-facing port that is NAT-ed to the PRIVATE_PORT
List the containers in the local repository. By default this shows only the running containers.
This command pulls down an image or a repository from a registry. If there is more than one image for a repository (e.g., fedora) then all images for that...
Use docker push to share your images to the ⟨⟩ registry or to a self-hosted one. Refer to docker-tag(1) for more information about valid...
Rename a container. Container may be running, paused or stopped.
Restart each container listed.
docker rm will remove one or more containers from the host node. The container name or ID can be used. This does not remove images. You cannot remove a running...
Removes one or more images from the host node. This does not remove images from a registry. You cannot remove an image of a running container unless you use the...
Run a process in a new container. docker run starts a process with its own file system, its own networking, and its own isolated process tree. The IMAGE which...
Produces a tarred repository to the standard output stream. Contains all parent layers, and all tags + versions, or specified repo:tag. Stream to a file instead...
Search Docker Hub for images that match the specified TERM. The table of images returned displays the name, description (truncated by default), number of stars...
Start one or more containers.
Display a live stream of one or more containers' resource usage statistics
Stop a container (Send SIGTERM, and then SIGKILL after grace period)
Assigns a new alias to an image in a registry. An alias refers to the entire image name including the optional TAG after the ':'.
Display the running process of the container. ps-OPTION can be any of the options you would pass to a Linux ps command. All displayed information is from host's...
The docker unpause command uses the cgroups freezer to un-suspend all processes in a container. See the ⟨…⟩ for further...
The docker update command dynamically updates container configuration. you can Use this command to prevent containers from consuming too many resources from...
This command displays version information for both the Docker client and daemon.
Block until a container stops, then print its exit code.
By default, the Docker command line stores its configuration files in a directory called .docker within your $HOME directory. Docker manages most of the files...
A Dockerfile is a file that automates the steps of creating a Docker image. A Dockerfile is similar to a Makefile.
dockerd is used for starting the Docker daemon(i.e., to command the daemon to manage images, containers etc.) So dockerd is a server, as a daemon. To run the...
dockerd is used for starting the Docker daemon(i.e., to command the daemon to manage images, containers etc.) So dockerd is a server, as a daemon. To run the...