The temporary mount point created in the first step of umount. Create a bind mount from a specific folder we want to use as a disk volume to the location of the disk volume.Use nsenter to mount the entire file system containing this volume onto the temporary mount point.Simply put, to mount a disk volume onto a running container, we need to:. Before I was asked if I could mount the volume after the Docker container started, considering how the MNT namespace works, I initially thought it was difficult to implement.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |