mirror of
https://github.com/wsargent/docker-cheat-sheet.git
synced 2025-09-21 21:30:48 +02:00
Merge pull request #85 from wsargent/update-editing-with-pictures
Add contributing section
This commit is contained in:
commit
23afae36dc
5 changed files with 29 additions and 2 deletions
31
README.md
31
README.md
|
@ -1,6 +1,10 @@
|
|||
# Docker Cheat Sheet
|
||||
|
||||
**Want to edit this? Click [README.md](https://github.com/wsargent/docker-cheat-sheet/blob/master/README.md), and then on the "writing pen" icon on the right to edit and submit a pull request!**
|
||||
## Editing
|
||||
|
||||
**Want to improve this cheat sheet? See the [Contributing](#contributing) section!**
|
||||
|
||||
## Table of Contents
|
||||
|
||||
* [Why](#why)
|
||||
* [Prerequisites](#prerequisites)
|
||||
|
@ -17,6 +21,7 @@
|
|||
* [Best Practices](#best-practices)
|
||||
* [Security](#security)
|
||||
* [Tips](#tips)
|
||||
* [Contributing](#contributing)
|
||||
|
||||
## Why
|
||||
|
||||
|
@ -156,7 +161,7 @@ Images are just [templates for docker containers](https://docs.docker.com/engine
|
|||
|
||||
While you can use the `docker rmi` command to remove specific images, there's a tool called [docker-gc](https://github.com/spotify/docker-gc) that will clean up images that are no longer used by any containers in a safe manner.
|
||||
|
||||
## Networks
|
||||
## Networks
|
||||
|
||||
Docker has a [networks](https://docs.docker.com/engine/userguide/networking/dockernetworks/) feature. Not much is known about it, so this is a good place to expand the cheat sheet. There is a note saying that it's a good way to configure docker containers to talk to each other without using ports. See [working with networks](https://docs.docker.com/engine/userguide/networking/work-with-networks/) for more details.
|
||||
|
||||
|
@ -561,3 +566,25 @@ For all containers listed by name:
|
|||
```
|
||||
docker stats $(docker ps --format '{{.Names}}')
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Here's how to contribute to this cheat sheet.
|
||||
|
||||
### Open README.md
|
||||
|
||||
Click [README.md](https://github.com/wsargent/docker-cheat-sheet/blob/master/README.md) <-- this link
|
||||
|
||||

|
||||
|
||||
### Edit Page
|
||||
|
||||

|
||||
|
||||
### Make Changes
|
||||
|
||||

|
||||
|
||||
### Create Pull Request
|
||||
|
||||

|
||||
|
|
BIN
change.png
Normal file
BIN
change.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
BIN
click.png
Normal file
BIN
click.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
commit.png
Normal file
BIN
commit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
BIN
edit.png
Normal file
BIN
edit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
Loading…
Add table
Add a link
Reference in a new issue