| ... | ... |
@@ -9,3 +9,19 @@ |
| 9 | 9 |
Create a new image from a container's changes |
| 10 | 10 |
|
| 11 | 11 |
-m="": Commit message |
| 12 |
+ -author="": Author (eg. "John Hannibal Smith <hannibal@a-team.com>" |
|
| 13 |
+ -run="": Config automatically applied when the image is run. "+`(ex: {"Cmd": ["cat", "/world"], "PortSpecs": ["22"]}')
|
|
| 14 |
+ |
|
| 15 |
+Full -run example:: |
|
| 16 |
+ |
|
| 17 |
+ {"Hostname": "",
|
|
| 18 |
+ "User": "", |
|
| 19 |
+ "Memory": 0, |
|
| 20 |
+ "MemorySwap": 0, |
|
| 21 |
+ "PortSpecs": ["22", "80", "443"], |
|
| 22 |
+ "Tty": true, |
|
| 23 |
+ "OpenStdin": true, |
|
| 24 |
+ "StdinOnce": true, |
|
| 25 |
+ "Env": ["FOO=BAR", "FOO2=BAR2"], |
|
| 26 |
+ "Cmd": ["cat", "-e", "/etc/resolv.conf"], |
|
| 27 |
+ "Dns": ["8.8.8.8", "8.8.4.4"]} |