mirror of
https://github.com/wsargent/docker-cheat-sheet.git
synced 2025-09-22 05:40:50 +02:00
Add an explanation of volumes and state.
This commit is contained in:
parent
d21dac0ea5
commit
e170fe6217
1 changed files with 2 additions and 0 deletions
|
@ -258,6 +258,8 @@ Volumes are useful in situations where you can't use links (which are TCP/IP onl
|
|||
|
||||
You can mount them in several docker containers at once, using `docker run -volume-from`
|
||||
|
||||
Because volumes are isolated filesystems, they are often used to store state from computations between transient containers. That is, you can have a stateless and transient container run from a recipe, blow it away, and then have a second instance of the transient container pick up from where the last one left off.
|
||||
|
||||
See [advanced volumes](http://crosbymichael.com/advanced-docker-volumes.html) for more details.
|
||||
|
||||
## Exposing ports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue