Hello I have a question regarding images. I like to create an image from a running container.
Via docker commit I was able to create an image. Unfortunately there are “binds” e.g.
"desktop.docker.io/binds/0/Source": "C:\\xyz\\Docker\\test\\testfile", "desktop.docker.io/binds/0/SourceKind": "hostFile", "desktop.docker.io/binds/0/Target": "/tmp/testfile",
When I try to create a new container from a different location I receive error messages like this
“Error response from daemon: cannot mount volume over existing file,”
- Is is possible to remove\ignore the binds at Commit ?
- What is the correct way to export and import a new Image based on a container
Thanks in advanced