docker: fix first heading

This commit is contained in:
Rico Sta. Cruz 2017-10-20 18:23:19 +08:00
parent e548524ad1
commit ff8f02c2cb
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 7 additions and 5 deletions

View File

@ -7,23 +7,25 @@ layout: 2017/sheet
Manage images Manage images
------------- -------------
### Managing images ### `docker build`
Create an `image` from a Dockerfile:
{: .-setup}
```yml ```yml
docker build [options] . docker build [options] .
-t "app/container_name" # name -t "app/container_name" # name
``` ```
Run a command in an `image`: Create an `image` from a Dockerfile.
### `docker run`
```yml ```yml
docker run [options] IMAGE docker run [options] IMAGE
# see `docker create` for options # see `docker create` for options
``` ```
Run a command in an `image`.
Manage containers Manage containers
----------------- -----------------