mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2025-06-16 07:07:37 +02:00
docker: fix first heading
This commit is contained in:
parent
e548524ad1
commit
ff8f02c2cb
12
docker.md
12
docker.md
@ -7,23 +7,25 @@ layout: 2017/sheet
|
||||
Manage images
|
||||
-------------
|
||||
|
||||
### Managing images
|
||||
|
||||
Create an `image` from a Dockerfile:
|
||||
{: .-setup}
|
||||
### `docker build`
|
||||
|
||||
```yml
|
||||
docker build [options] .
|
||||
-t "app/container_name" # name
|
||||
```
|
||||
|
||||
Run a command in an `image`:
|
||||
Create an `image` from a Dockerfile.
|
||||
|
||||
|
||||
### `docker run`
|
||||
|
||||
```yml
|
||||
docker run [options] IMAGE
|
||||
# see `docker create` for options
|
||||
```
|
||||
|
||||
Run a command in an `image`.
|
||||
|
||||
Manage containers
|
||||
-----------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user