1
0
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:
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

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
-----------------