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,
|
AttachStderr: true,
|
||||||
Image: image,
|
Image: image,
|
||||||
Cmd: cmd,
|
Cmd: cmd,
|
||||||
Volumes: map[string]struct{}{
|
|
||||||
"/data": {},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
&container.HostConfig{
|
&container.HostConfig{
|
||||||
Mounts: mounts,
|
Mounts: mounts,
|
||||||
|
Reference in New Issue
Block a user