Clean Volumes usage in run

This commit is contained in:
nemunaire 2021-05-02 22:52:13 +02:00
parent 75d2a81e2b
commit 5400b710f8

View File

@ -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,