docker: fix first heading

This commit is contained in:
Rico Sta. Cruz
2017-10-20 18:23:19 +08:00
parent e548524ad1
commit ff8f02c2cb
+7 -5
View File
@@ -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
-----------------