github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/docs/reference/commandline/index.md (about) 1 <!-- [metadata]> 2 +++ 3 title = "Docker commands" 4 description = "Docker's CLI command description and usage" 5 keywords = ["Docker, Docker documentation, CLI, command line"] 6 [menu.main] 7 identifier= "smn_cli_guide" 8 parent = "smn_cli" 9 weight=-70 10 +++ 11 <![end-metadata]--> 12 13 14 15 # The Docker commands 16 17 This section contains reference information on using Docker's command line 18 client. Each command has a reference page along with samples. If you are 19 unfamiliar with the command line, you should start by reading about how to [Use 20 the Docker command line](cli.md). 21 22 You start the Docker daemon with the command line. How you start the daemon 23 affects your Docker containers. For that reason you should also make sure to 24 read the [`dockerd`](dockerd.md) reference page. 25 26 ### Docker management commands 27 28 | Command | Description | 29 |:--------|:-------------------------------------------------------------------| 30 | [dockerd](dockerd.md) | Launch the Docker daemon | 31 | [info](info.md) | Display system-wide information | 32 | [inspect](inspect.md)| Return low-level information on a container or image | 33 | [version](version.md) | Show the Docker version information | 34 35 36 ### Image commands 37 38 | Command | Description | 39 |:--------|:-------------------------------------------------------------------| 40 | [build](build.md) | Build an image from a Dockerfile | 41 | [commit](commit.md) | Create a new image from a container's changes | 42 | [export](export.md) | Export a container's filesystem as a tar archive | 43 | [history](history.md) | Show the history of an image | 44 | [images](images.md) | List images | 45 | [import](import.md) | Import the contents from a tarball to create a filesystem image | 46 | [load](load.md) | Load an image from a tar archive or STDIN | 47 | [rmi](rmi.md) | Remove one or more images | 48 | [save](save.md) | Save images to a tar archive | 49 | [tag](tag.md) | Tag an image into a repository | 50 51 ### Container commands 52 53 | Command | Description | 54 |:--------|:-------------------------------------------------------------------| 55 | [attach](attach.md) | Attach to a running container | 56 | [cp](cp.md) | Copy files/folders from a container to a HOSTDIR or to STDOUT | 57 | [create](create.md) | Create a new container | 58 | [diff](diff.md) | Inspect changes on a container's filesystem | 59 | [events](events.md) | Get real time events from the server | 60 | [exec](exec.md) | Run a command in a running container | 61 | [kill](kill.md) | Kill a running container | 62 | [logs](logs.md) | Fetch the logs of a container | 63 | [pause](pause.md) | Pause all processes within a container | 64 | [port](port.md) | List port mappings or a specific mapping for the container | 65 | [ps](ps.md) | List containers | 66 | [rename](rename.md) | Rename a container | 67 | [restart](restart.md) | Restart a running container | 68 | [rm](rm.md) | Remove one or more containers | 69 | [run](run.md) | Run a command in a new container | 70 | [start](start.md) | Start one or more stopped containers | 71 | [stats](stats.md) | Display a live stream of container(s) resource usage statistics | 72 | [stop](stop.md) | Stop a running container | 73 | [top](top.md) | Display the running processes of a container | 74 | [unpause](unpause.md) | Unpause all processes within a container | 75 | [update](update.md) | Update configuration of one or more containers | 76 | [wait](wait.md) | Block until a container stops, then print its exit code | 77 78 ### Hub and registry commands 79 80 | Command | Description | 81 |:--------|:-------------------------------------------------------------------| 82 | [login](login.md) | Register or log in to a Docker registry | 83 | [logout](logout.md) | Log out from a Docker registry | 84 | [pull](pull.md) | Pull an image or a repository from a Docker registry | 85 | [push](push.md) | Push an image or a repository to a Docker registry | 86 | [search](search.md) | Search the Docker Hub for images | 87 88 ### Network and connectivity commands 89 90 | Command | Description | 91 |:--------|:-------------------------------------------------------------------| 92 | [network connect](network_connect.md) | Connect a container to a network | 93 | [network create](network_create.md) | Create a new network | 94 | [network disconnect](network_disconnect.md) | Disconnect a container from a network | 95 | [network inspect](network_inspect.md) | Display information about a network | 96 | [network ls](network_ls.md) | Lists all the networks the Engine `daemon` knows about | 97 | [network rm](network_rm.md) | Removes one or more networks | 98 99 100 ### Shared data volume commands 101 102 | Command | Description | 103 |:--------|:-------------------------------------------------------------------| 104 | [volume create](volume_create.md) | Creates a new volume where containers can consume and store data | 105 | [volume inspect](volume_inspect.md) | Display information about a volume | 106 | [volume ls](volume_ls.md) | Lists all the volumes Docker knows about | 107 | [volume rm](volume_rm.md) | Remove one or more volumes | 108 109 110 ### Swarm node commands 111 112 | Command | Description | 113 |:--------|:-------------------------------------------------------------------| 114 | [node promote](node_promote.md) | Promote a node that is pending a promotion to manager | 115 | [node demote](node_demote.md) | Demotes an existing manager so that it is no longer a manager | 116 | [node inspect](node_inspect.md) | Inspect a node in the swarm | 117 | [node update](node_update.md) | Update attributes for a node | 118 | [node ps](node_ps.md) | List tasks running on a node | 119 | [node ls](node_ls.md) | List nodes in the swarm | 120 | [node rm](node_rm.md) | Remove one or more nodes from the swarm | 121 122 ### Swarm swarm commands 123 124 | Command | Description | 125 |:--------|:-------------------------------------------------------------------| 126 | [swarm init](swarm_init.md) | Initialize a swarm | 127 | [swarm join](swarm_join.md) | Join a swarm as a manager node or worker node | 128 | [swarm leave](swarm_leave.md) | Remove the current node from the swarm | 129 | [swarm update](swarm_update.md) | Update attributes of a swarm | 130 | [swarm join-token](swarm_join_token.md) | Display or rotate join tokens | 131 132 ### Swarm service commands 133 134 | Command | Description | 135 |:--------|:-------------------------------------------------------------------| 136 | [service create](service_create.md) | Create a new service | 137 | [service inspect](service_inspect.md) | Inspect a service | 138 | [service ls](service_ls.md) | List services in the swarm | 139 | [service rm](service_rm.md) | Reemove a swervice from the swarm | 140 | [service scale](service_scale.md) | Set the number of replicas for the desired state of the service | 141 | [service ps](service_ps.md) | List the tasks of a service | 142 | [service update](service_update.md) | Update the attributes of a service |