Add volumes to run command

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-05-07 04:58:04 +02:00
parent 7603a3b832
commit b25a6b4bd6
6 changed files with 183 additions and 8 deletions

View file

@ -15,6 +15,7 @@ type Opts struct {
Name string
Publish []string
Labels []string
Volumes []string
}
// ToContainerConfig convert run options to a container configuration