docker-archive / communitytools-image2docker-linux

116 stars 42 forks source link

make volume name should be dynamic #17

Closed brandonroyal closed 6 years ago

brandonroyal commented 6 years ago

Currently volume name is statically named,v2c-transport. The current solution checks if a volume is already mounted via the docker client. if volume is mounted, it will use the existing volume - ignoring the new one specified in the command.

Error message also doesn't make this clear.

pdevine commented 6 years ago

I think we just want to make this idempotent where it clean it up on every run. That way you don't have 50 different volumes/containers lying around when the tool got run 50 times. Let's track that with #23.