mirror of
https://github.com/Aroy-Art/Aroy-Art-Site.git
synced 2024-12-26 07:14:22 +01:00
Added post Docker Cheat Sheet
This commit is contained in:
parent
6530df1855
commit
a675eae4ab
2 changed files with 38 additions and 0 deletions
33
content/blog/docker-cheat-sheet/content.md
Normal file
33
content/blog/docker-cheat-sheet/content.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
+++
|
||||
title = "Docker Cheat Sheet"
|
||||
#subtitle = "This is my Docker commands sheat sheet."
|
||||
date = "2020-12-02"
|
||||
fragment = "content"
|
||||
weight = 100
|
||||
tags = ["docker", "cheat", "sheet"]
|
||||
+++
|
||||
|
||||
# A list of docker commands
|
||||
|
||||
### List images
|
||||
|
||||
``` bash
|
||||
docker images [OPTIONS] [REPOSITORY[:TAG]]
|
||||
```
|
||||
|
||||
#### Options
|
||||
|
||||
| Name, shorthand | Default | Description |
|
||||
| :-------------- | :------:| --------------------------------------------------- |
|
||||
| `--all , -a` | | Show all images (default hides intermediate images) |
|
||||
| `--digests` | | Show digests |
|
||||
| `--filter , -f` | | Filter output based on conditions provided |
|
||||
| `--format` | | Pretty-print images using a Go template |
|
||||
| `--no-trunc` | | Don’t truncate output |
|
||||
| `--quiet , -q` | | Only show numeric IDs |
|
||||
|
||||
### Remove one or more containers
|
||||
|
||||
``` bash
|
||||
docker rm [OPTIONS] CONTAINER [CONTAINER...]
|
||||
```
|
5
content/blog/docker-cheat-sheet/index.md
Normal file
5
content/blog/docker-cheat-sheet/index.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = "Docker Cheat Sheet"
|
||||
subtitle = "This is my Docker commands sheat sheet."
|
||||
date = "2020-12-02"
|
||||
+++
|
Loading…
Reference in a new issue