Better example for data container
| ... | ... |
@@ -99,7 +99,7 @@ it. |
| 99 | 99 |
|
| 100 | 100 |
Let's create a new named container with a volume to share. |
| 101 | 101 |
|
| 102 |
- $ sudo docker run -d -v /dbdata --name dbdata training/postgres |
|
| 102 |
+ $ sudo docker run -d -v /dbdata --name dbdata training/postgres echo Data-only container for postgres |
|
| 103 | 103 |
|
| 104 | 104 |
You can then use the `--volumes-from` flag to mount the `/dbdata` volume in another container. |
| 105 | 105 |
|