Hi guys,
I have another question. This time it’s about removing / unmounting a volume from a running container. My situation: I’m currently using a data container to store some installation files from the host. Then, I use --volumes-from in order to mount the volume from the data container to another container. After I’ve installed the files, I want to create an image based on this container. BUT if I do it without unmounting the volume, it will be included to the image. This is what I want to avoid - I don’t want the installation files to be included.
I have tried stopping the data container, but this didn’t help. It seems to me that there is no possibility to remove the volume from a running container. Does anybody have an idea?