Clean Volumes usage in run
This commit is contained in:
parent
75d2a81e2b
commit
5400b710f8
@ -29,9 +29,6 @@ func Run(image string, cmd []string, mounts []mount.Mount) (string, error) {
|
||||
AttachStderr: true,
|
||||
Image: image,
|
||||
Cmd: cmd,
|
||||
Volumes: map[string]struct{}{
|
||||
"/data": {},
|
||||
},
|
||||
},
|
||||
&container.HostConfig{
|
||||
Mounts: mounts,
|
||||
|
Reference in New Issue
Block a user