mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Some style changes
This commit is contained in:
1 parent
59c39586cf
commit
e2a3d111b2
1 file changed
+3
-1
@@ -25,6 +25,7 @@ $ docker run -d -p 80:80 docker/getting-started
|
||||
- `-d` - Run the container in detached mode
|
||||
- `-p 80:80` - Map port 80 to port 80 in the container
|
||||
- `docker/getting-started` - The image to use
|
||||
{.style-none}
|
||||
|
||||
|
||||
Create and run a container in foreground
|
||||
@@ -38,10 +39,11 @@ $ docker run -it -p 8001:8080 --name my-nginx nginx
|
||||
- `-p 8001:8080` - Map port 8001 to port 8080 in the container
|
||||
- `--name my-nginx` - Specify a name
|
||||
- `nginx` - The image to use
|
||||
{.style-none}
|
||||
|
||||
|
||||
|
||||
### General commands {.row-span-2}
|
||||
### General commands
|
||||
| Example | Description |
|
||||
|-------------------------------------|--------------------------------------------------|
|
||||
| `docker ps` | List running containers |
|
||||
|
||||
Reference in new issue
Block a user