mirror of
https://github.com/Aroy-Art/Aroy-Art-Site.git
synced 2025-05-05 21:47:49 +02:00
Part 1 of Immigration
This commit is contained in:
parent
31c1cf0294
commit
378ea45ba0
17 changed files with 594 additions and 138 deletions
Binary file not shown.
After Width: | Height: | Size: 111 KiB |
64
content/post/docker-cheat-sheet/content.md
Normal file
64
content/post/docker-cheat-sheet/content.md
Normal file
|
@ -0,0 +1,64 @@
|
|||
+++
|
||||
title = "Docker Cheat Sheet"
|
||||
subtitle = "This is my Docker commands sheat sheet."
|
||||
|
||||
date = "2020-12-02"
|
||||
lastmod = "2020-12-16"
|
||||
|
||||
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...]
|
||||
```
|
||||
|
||||
#### Options
|
||||
|
||||
| Name, shorthand | Default | Description |
|
||||
|:----------------|:-------:| ------------------------------------------------------- |
|
||||
|`--force , -f` | | Force the removal of a running container (uses SIGKILL) |
|
||||
|`--link , -l` | | Remove the specified link |
|
||||
|`--volumes , -v` | | Remove anonymous volumes associated with the container |
|
||||
|
||||
---
|
||||
|
||||
### Stop one or more running containers
|
||||
|
||||
``` Bash
|
||||
docker stop [OPTIONS] CONTAINER [CONTAINER...]
|
||||
```
|
||||
|
||||
#### Options
|
||||
|
||||
| Name, shorthand | Default | Description |
|
||||
|:----------------|:-------:| ------------------------------------------- |
|
||||
|`--time , -t` | 10 | Seconds to wait for stop before killing it. |
|
6
content/post/docker-cheat-sheet/index.md
Normal file
6
content/post/docker-cheat-sheet/index.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "Docker Cheat Sheet"
|
||||
subtitle = "This is my Docker commands sheat sheet."
|
||||
date = "2020-12-02"
|
||||
tags = ["docker", "cheat", "sheet"]
|
||||
+++
|
Loading…
Add table
Add a link
Reference in a new issue