Signed-off-by: Mary Anthony <mary@docker.com>
| ... | ... |
@@ -5,7 +5,6 @@ description = "The attach command description and usage" |
| 5 | 5 |
keywords = ["attach, running, container"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -89,4 +88,3 @@ process is returned by the `docker attach` command to its caller too: |
| 89 | 89 |
13 |
| 90 | 90 |
$ docker ps -a | grep test |
| 91 | 91 |
275c44472aeb debian:7 "/bin/bash" 26 seconds ago Exited (13) 17 seconds ago test |
| 92 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The build command description and usage" |
| 5 | 5 |
keywords = ["build, docker, image"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -251,9 +250,9 @@ the command line. |
| 251 | 251 |
|
| 252 | 252 |
When `docker build` is run with the `--cgroup-parent` option the containers |
| 253 | 253 |
used in the build will be run with the [corresponding `docker run` |
| 254 |
-flag](/reference/run/#specifying-custom-cgroups). |
|
| 254 |
+flag](/reference/run/#specifying-custom-cgroups). |
|
| 255 | 255 |
|
| 256 |
-Using the `--ulimit` option with `docker build` will cause each build step's |
|
| 256 |
+Using the `--ulimit` option with `docker build` will cause each build step's |
|
| 257 | 257 |
container to be started using those [`--ulimit` |
| 258 | 258 |
flag values](/reference/run/#setting-ulimits-in-a-container). |
| 259 | 259 |
|
| ... | ... |
@@ -1,14 +1,15 @@ |
| 1 | 1 |
<!--[metadata]> |
| 2 | 2 |
+++ |
| 3 |
-title = "Using the command line" |
|
| 3 |
+title = "Use the Docker command line" |
|
| 4 | 4 |
description = "Docker's CLI command description and usage" |
| 5 | 5 |
keywords = ["Docker, Docker documentation, CLI, command line"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
+weight = -2 |
|
| 8 | 9 |
+++ |
| 9 | 10 |
<![end-metadata]--> |
| 10 | 11 |
|
| 11 |
-# Using the command line |
|
| 12 |
+# Use the Docker command line |
|
| 12 | 13 |
|
| 13 | 14 |
To list available commands, either run `docker` with no parameters |
| 14 | 15 |
or execute `docker help`: |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The commit command description and usage" |
| 5 | 5 |
keywords = ["commit, file, changes"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -62,4 +61,3 @@ created. Supported `Dockerfile` instructions: |
| 62 | 62 |
f5283438590d |
| 63 | 63 |
$ docker inspect -f "{{ .Config.Env }}" f5283438590d
|
| 64 | 64 |
[HOME=/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DEBUG=true] |
| 65 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The create command description and usage" |
| 5 | 5 |
keywords = ["docker, create, container"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -77,7 +76,7 @@ Creates a new container. |
| 77 | 77 |
The `docker create` command creates a writeable container layer over the |
| 78 | 78 |
specified image and prepares it for running the specified command. The |
| 79 | 79 |
container ID is then printed to `STDOUT`. This is similar to `docker run -d` |
| 80 |
-except the container is never started. You can then use the |
|
| 80 |
+except the container is never started. You can then use the |
|
| 81 | 81 |
`docker start <container_id>` command to start the container at any point. |
| 82 | 82 |
|
| 83 | 83 |
This is useful when you want to set up a container configuration ahead of time |
| ... | ... |
@@ -121,5 +120,3 @@ then be used from the subsequent container: |
| 121 | 121 |
-rw-r--r-- 1 1000 staff 920 Nov 28 11:51 .profile |
| 122 | 122 |
drwx--S--- 2 1000 staff 460 Dec 5 00:51 .ssh |
| 123 | 123 |
drwxr-xr-x 32 1000 staff 1140 Dec 5 04:01 docker |
| 124 |
- |
|
| 125 |
- |
| ... | ... |
@@ -5,7 +5,7 @@ description = "The daemon command description and usage" |
| 5 | 5 |
keywords = ["container, daemon, runtime"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 8 |
+weight = -1 |
|
| 9 | 9 |
+++ |
| 10 | 10 |
<![end-metadata]--> |
| 11 | 11 |
|
| ... | ... |
@@ -551,5 +551,3 @@ set like this: |
| 551 | 551 |
# or |
| 552 | 552 |
export DOCKER_TMPDIR=/mnt/disk2/tmp |
| 553 | 553 |
/usr/local/bin/docker daemon -D -g /var/lib/docker -H unix:// > /var/lib/docker-machine/docker.log 2>&1 |
| 554 |
- |
|
| 555 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The events command description and usage" |
| 5 | 5 |
keywords = ["events, container, report"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -36,7 +35,7 @@ returns only new and/or live events. |
| 36 | 36 |
## Filtering |
| 37 | 37 |
|
| 38 | 38 |
The filtering flag (`-f` or `--filter`) format is of "key=value". If you would |
| 39 |
-like to use multiple filters, pass multiple flags (e.g., |
|
| 39 |
+like to use multiple filters, pass multiple flags (e.g., |
|
| 40 | 40 |
`--filter "foo=bar" --filter "bif=baz"`) |
| 41 | 41 |
|
| 42 | 42 |
Using the same filter multiple times will be handled as a *OR*; for example |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The history command description and usage" |
| 5 | 5 |
keywords = ["docker, image, history"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -39,5 +38,3 @@ To see how the `docker:apache` image was added to a container's base image: |
| 39 | 39 |
88b42ffd1f7c 5 months ago /bin/sh -c #(nop) ADD file:1fd8d7f9f6557cafc7 373.7 MB |
| 40 | 40 |
c69cab00d6ef 5 months ago /bin/sh -c #(nop) MAINTAINER Lokesh Mandvekar 0 B |
| 41 | 41 |
511136ea3c5a 19 months ago 0 B Imported from - |
| 42 |
- |
|
| 43 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The images command description and usage" |
| 5 | 5 |
keywords = ["list, docker, images"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -178,4 +177,3 @@ In this example, with the `0.1` value, it returns an empty set because no matche |
| 178 | 178 |
|
| 179 | 179 |
$ docker images --filter "label=com.example.version=0.1" |
| 180 | 180 |
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE |
| 181 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The import command description and usage" |
| 5 | 5 |
keywords = ["import, file, system, container"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -48,7 +47,7 @@ Import to docker via pipe and `STDIN`. |
| 48 | 48 |
|
| 49 | 49 |
$ cat exampleimage.tgz | docker import - exampleimagelocal:new |
| 50 | 50 |
|
| 51 |
-Import with a commit message |
|
| 51 |
+Import with a commit message |
|
| 52 | 52 |
|
| 53 | 53 |
$ cat exampleimage.tgz | docker import --message "New image imported from tarball" - exampleimagelocal:new |
| 54 | 54 |
|
| ... | ... |
@@ -68,4 +67,3 @@ Note the `sudo` in this example – you must preserve |
| 68 | 68 |
the ownership of the files (especially root ownership) during the |
| 69 | 69 |
archiving with tar. If you are not root (or the sudo command) when you |
| 70 | 70 |
tar, then the ownerships might not get preserved. |
| 71 |
- |
| 72 | 71 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,85 @@ |
| 0 |
+<!-- [metadata]> |
|
| 1 |
+title = "Using the command line" |
|
| 2 |
+description = "Docker's CLI command description and usage" |
|
| 3 |
+keywords = ["Docker, Docker documentation, CLI, command line"] |
|
| 4 |
+[menu.main] |
|
| 5 |
+identifier= "smn_cli" |
|
| 6 |
+parent = "mn_reference" |
|
| 7 |
+<!-- [end-metadata]--> |
|
| 8 |
+ |
|
| 9 |
+ |
|
| 10 |
+# The Docker commands |
|
| 11 |
+ |
|
| 12 |
+This section contains reference information on using Docker's command line client. Each command has a reference page along with samples. If you are unfamiliar with the command line, you should start by reading about how to ["Use the Docker command line"](cli). |
|
| 13 |
+ |
|
| 14 |
+You start the Docker daemon with the command line. How you start the daemon affects your Docker containers. For that reason you should also make sure to read the [`daemon`](daemon) reference page. |
|
| 15 |
+ |
|
| 16 |
+### Docker management commands |
|
| 17 |
+ |
|
| 18 |
+* [daemon](daemon) |
|
| 19 |
+* [info](info) |
|
| 20 |
+* [inspect](inspect) |
|
| 21 |
+* [version](version) |
|
| 22 |
+ |
|
| 23 |
+### Image commands |
|
| 24 |
+ |
|
| 25 |
+* [build](build) |
|
| 26 |
+* [commit](commit) |
|
| 27 |
+* [export](export) |
|
| 28 |
+* [history](history) |
|
| 29 |
+* [images](images) |
|
| 30 |
+* [import](import) |
|
| 31 |
+* [load](load) |
|
| 32 |
+* [rmi](rmi) |
|
| 33 |
+* [save](save) |
|
| 34 |
+* [tag](tag) |
|
| 35 |
+ |
|
| 36 |
+### Container commands |
|
| 37 |
+ |
|
| 38 |
+* [attach](attach) |
|
| 39 |
+* [cp](cp) |
|
| 40 |
+* [create](create) |
|
| 41 |
+* [diff](diff) |
|
| 42 |
+* [events](events) |
|
| 43 |
+* [exec](exec) |
|
| 44 |
+* [kill](kill) |
|
| 45 |
+* [logs](logs) |
|
| 46 |
+* [pause](pause) |
|
| 47 |
+* [port](port) |
|
| 48 |
+* [ps](ps) |
|
| 49 |
+* [rename](rename) |
|
| 50 |
+* [restart](restart) |
|
| 51 |
+* [rm](rm) |
|
| 52 |
+* [run](run) |
|
| 53 |
+* [start](start) |
|
| 54 |
+* [stats](stats) |
|
| 55 |
+* [stop](stop) |
|
| 56 |
+* [top](top) |
|
| 57 |
+* [unpause](unpause) |
|
| 58 |
+* [wait](wait) |
|
| 59 |
+ |
|
| 60 |
+### Hub and registry commands |
|
| 61 |
+ |
|
| 62 |
+* [login](login) |
|
| 63 |
+* [logout](logout) |
|
| 64 |
+* [pull](pull) |
|
| 65 |
+* [push](push) |
|
| 66 |
+* [search](search) |
|
| 67 |
+ |
|
| 68 |
+### Network and connectivity commands |
|
| 69 |
+ |
|
| 70 |
+* [network_connect](network_connect) |
|
| 71 |
+* [network_create](network_create) |
|
| 72 |
+* [network_disconnect](network_disconnect) |
|
| 73 |
+* [network_inspect](network_inspect) |
|
| 74 |
+* [network_ls](network_ls) |
|
| 75 |
+* [network_rm](network_rm) |
|
| 76 |
+ |
|
| 77 |
+### Shared data volume commands |
|
| 78 |
+ |
|
| 79 |
+* [volume_create](volume_create) |
|
| 80 |
+* [volume_inspect](volume_inspect) |
|
| 81 |
+* [volume_ls](volume_ls) |
|
| 82 |
+* [volume_rm](volume_rm) |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The info command description and usage" |
| 5 | 5 |
keywords = ["display, docker, information"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -57,5 +56,3 @@ The global `-D` option tells all `docker` commands to output debug information. |
| 57 | 57 |
|
| 58 | 58 |
When sending issue reports, please use `docker version` and `docker -D info` to |
| 59 | 59 |
ensure we know how your setup is configured. |
| 60 |
- |
|
| 61 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The inspect command description and usage" |
| 5 | 5 |
keywords = ["inspect, container, json"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -73,4 +72,3 @@ section contains complex JSON object, so to grab it as JSON, you use |
| 73 | 73 |
`json` to convert the configuration object into JSON. |
| 74 | 74 |
|
| 75 | 75 |
$ docker inspect --format='{{json .config}}' $INSTANCE_ID
|
| 76 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The load command description and usage" |
| 5 | 5 |
keywords = ["stdin, tarred, repository"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -35,4 +34,3 @@ Restores both images and tags. |
| 35 | 35 |
fedora 20 58394af37342 7 weeks ago 385.5 MB |
| 36 | 36 |
fedora heisenbug 58394af37342 7 weeks ago 385.5 MB |
| 37 | 37 |
fedora latest 58394af37342 7 weeks ago 385.5 MB |
| 38 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The login command description and usage" |
| 5 | 5 |
keywords = ["registry, login, image"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -26,5 +25,3 @@ adding the server name. |
| 26 | 26 |
|
| 27 | 27 |
example: |
| 28 | 28 |
$ docker login localhost:8080 |
| 29 |
- |
|
| 30 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The logout command description and usage" |
| 5 | 5 |
keywords = ["logout, docker, registry"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -21,6 +20,3 @@ weight=1 |
| 21 | 21 |
For example: |
| 22 | 22 |
|
| 23 | 23 |
$ docker logout localhost:8080 |
| 24 |
- |
|
| 25 |
- |
|
| 26 |
- |
| ... | ... |
@@ -16,7 +16,7 @@ parent = "smn_cli" |
| 16 | 16 |
|
| 17 | 17 |
--help=false Print usage |
| 18 | 18 |
|
| 19 |
-Connects a running container to a network. This enables instant communication with other containers belonging to the same network. |
|
| 19 |
+Connects a running container to a network. This enables instant communication with other containers belonging to the same network. |
|
| 20 | 20 |
|
| 21 | 21 |
``` |
| 22 | 22 |
$ docker network create -d overlay multi-host-network |
| ... | ... |
@@ -27,4 +27,3 @@ Connects a running container to a network. This enables instant communication wi |
| 27 | 27 |
the container will be connected to the network that is created and managed by the driver (multi-host overlay driver in the above example) or external network plugins. |
| 28 | 28 |
|
| 29 | 29 |
Multiple containers can be connected to the same network and the containers in the same network will start to communicate with each other. If the driver/plugin supports multi-host connectivity, then the containers connected to the same multi-host network will be able to communicate seamlessly. |
| 30 |
- |
| ... | ... |
@@ -29,4 +29,3 @@ the container will be connected to the network that is created and managed by th |
| 29 | 29 |
Multiple containers can be connected to the same network and the containers in the same network will start to communicate with each other. If the driver/plugin supports multi-host connectivity, then the containers connected to the same multi-host network will be able to communicate seamlessly. |
| 30 | 30 |
|
| 31 | 31 |
*Note*: UX needs enhancement to accept network options to be passed to the drivers |
| 32 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The pause command description and usage" |
| 5 | 5 |
keywords = ["cgroups, container, suspend, SIGSTOP"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -26,4 +25,3 @@ and subsequently resumed. |
| 26 | 26 |
See the |
| 27 | 27 |
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) |
| 28 | 28 |
for further details. |
| 29 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The pull command description and usage" |
| 5 | 5 |
keywords = ["pull, image, hub, docker"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -50,4 +49,3 @@ use `docker pull`: |
| 50 | 50 |
# manually specifies the path to the default Docker registry. This could |
| 51 | 51 |
# be replaced with the path to a local registry to pull from another source. |
| 52 | 52 |
# sudo docker pull myhub.com:8080/test-image |
| 53 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The restart command description and usage" |
| 5 | 5 |
keywords = ["restart, container, Docker"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -17,4 +16,3 @@ weight=1 |
| 17 | 17 |
|
| 18 | 18 |
--help=false Print usage |
| 19 | 19 |
-t, --time=10 Seconds to wait for stop before killing the container |
| 20 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The rm command description and usage" |
| 5 | 5 |
keywords = ["remove, Docker, container"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -42,8 +41,7 @@ The main process inside the container referenced under the link `/redis` will re |
| 42 | 42 |
|
| 43 | 43 |
$ docker rm $(docker ps -a -q) |
| 44 | 44 |
|
| 45 |
-This command will delete all stopped containers. The command |
|
| 46 |
-`docker ps -a -q` will return all existing container IDs and pass them to |
|
| 45 |
+This command will delete all stopped containers. The command |
|
| 46 |
+`docker ps -a -q` will return all existing container IDs and pass them to |
|
| 47 | 47 |
the `rm` command which will delete them. Any running containers will not be |
| 48 | 48 |
deleted. |
| 49 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The rmi command description and usage" |
| 5 | 5 |
keywords = ["remove, image, Docker"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -73,4 +72,3 @@ To remove an image using its digest: |
| 73 | 73 |
Deleted: 4986bf8c15363d1c5d15512d5266f8777bfba4974ac56e3270e7760f6f0a8125 |
| 74 | 74 |
Deleted: ea13149945cb6b1e746bf28032f02e9b5a793523481a0a18645fc77ad53c4ea2 |
| 75 | 75 |
Deleted: df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b |
| 76 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The run command description and usage" |
| 5 | 5 |
keywords = ["run, command, container"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -101,7 +100,7 @@ and linking containers. |
| 101 | 101 |
$ docker ps -a | grep test |
| 102 | 102 |
d6c0fe130dba debian:7 "/bin/bash" 26 seconds ago Exited (13) 17 seconds ago test |
| 103 | 103 |
|
| 104 |
-This example runs a container named `test` using the `debian:latest` |
|
| 104 |
+This example runs a container named `test` using the `debian:latest` |
|
| 105 | 105 |
image. The `-it` instructs Docker to allocate a pseudo-TTY connected to |
| 106 | 106 |
the container's stdin; creating an interactive `bash` shell in the container. |
| 107 | 107 |
In the example, the `bash` shell is quit by entering |
| ... | ... |
@@ -533,8 +532,8 @@ containers with `daemon` user: |
| 533 | 533 |
docker run -d -u daemon --ulimit nproc=3 busybox top |
| 534 | 534 |
docker run -d -u daemon --ulimit nproc=3 busybox top |
| 535 | 535 |
|
| 536 |
-The 4th container fails and reports "[8] System error: resource temporarily unavailable" error. |
|
| 537 |
-This fails because the caller set `nproc=3` resulting in the first three containers using up |
|
| 536 |
+The 4th container fails and reports "[8] System error: resource temporarily unavailable" error. |
|
| 537 |
+This fails because the caller set `nproc=3` resulting in the first three containers using up |
|
| 538 | 538 |
the three processes quota set for the `daemon` user. |
| 539 | 539 |
|
| 540 | 540 |
### Stopping a container with a specific signal |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The search command description and usage" |
| 5 | 5 |
keywords = ["search, hub, images"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -27,4 +26,3 @@ more details on finding shared images from the command line. |
| 27 | 27 |
|
| 28 | 28 |
> **Note:** |
| 29 | 29 |
> Search queries will only return up to 25 results |
| 30 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The start command description and usage" |
| 5 | 5 |
keywords = ["Start, container, stopped"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -18,4 +17,3 @@ weight=1 |
| 18 | 18 |
-a, --attach=false Attach STDOUT/STDERR and forward signals |
| 19 | 19 |
--help=false Print usage |
| 20 | 20 |
-i, --interactive=false Attach container's STDIN |
| 21 |
- |
| ... | ... |
@@ -5,7 +5,6 @@ description = "The version command description and usage" |
| 5 | 5 |
keywords = ["version, architecture, api"] |
| 6 | 6 |
[menu.main] |
| 7 | 7 |
parent = "smn_cli" |
| 8 |
-weight=1 |
|
| 9 | 8 |
+++ |
| 10 | 9 |
<![end-metadata]--> |
| 11 | 10 |
|
| ... | ... |
@@ -54,4 +53,3 @@ describes all the details of the format. |
| 54 | 54 |
|
| 55 | 55 |
$ docker version --format '{{json .}}'
|
| 56 | 56 |
{"Client":{"Version":"1.8.0","ApiVersion":"1.20","GitCommit":"f5bae0a","GoVersion":"go1.4.2","Os":"linux","Arch":"amd64","BuildTime":"Tue Jun 23 17:56:00 UTC 2015"},"ServerOK":true,"Server":{"Version":"1.8.0","ApiVersion":"1.20","GitCommit":"f5bae0a","GoVersion":"go1.4.2","Os":"linux","Arch":"amd64","KernelVersion":"3.13.2-gentoo","BuildTime":"Tue Jun 23 17:56:00 UTC 2015"}}
|
| 57 |
- |