Skip to content

Commit

Permalink
Update editing section
Browse files Browse the repository at this point in the history
  • Loading branch information
wsargent committed Mar 16, 2016
1 parent 66c1ac1 commit 9d36f89
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -17,6 +21,7 @@
* [Best Practices](#best-practices)
* [Security](#security)
* [Tips](#tips)
* [Contributing](#contributing)

## Why

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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

![Click This](click.png)

### Edit Page

![Edit This](edit.png)

### Make Changes

![Change This](change.png)

### Create Pull Request

![Commit](commit.png)
Binary file added change.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added click.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added commit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d36f89

Please sign in to comment.