1
0
mirror of https://github.com/docker/cli.git synced 2025-07-30 17:03:07 +03:00

tweak description of "docker run" command

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-03-29 23:58:36 +02:00
parent ac22b2bf52
commit 6e6652b702
8 changed files with 8 additions and 8 deletions

View File

@ -329,7 +329,7 @@ $ docker run --help
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
Create and run a new container from an image
Options:
--add-host value Add a custom host-to-IP mapping (host:ip) (default [])

View File

@ -33,7 +33,7 @@ Commands:
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
run Run a command in a new container
run Create and run a new container from an image
start Start one or more stopped containers
stats Display a live stream of container(s) resource usage statistics
stop Stop one or more running containers

View File

@ -63,7 +63,7 @@ read the [`dockerd`](dockerd.md) reference page.
| [rename](rename.md) | Rename a container |
| [restart](restart.md) | Restart a running container |
| [rm](rm.md) | Remove one or more containers |
| [run](run.md) | Run a command in a new container |
| [run](run.md) | Create and run a new container from an image |
| [start](start.md) | Start one or more stopped containers |
| [stats](stats.md) | Display a live stream of container(s) resource usage statistics |
| [stop](stop.md) | Stop a running container |

View File

@ -9,7 +9,7 @@ keywords: "run, command, container"
```markdown
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
Create and run a new container from an image
Options:
--add-host value Add a custom host-to-IP mapping (host:ip) (default [])