rm -r /mypath
rm: cannot remove '/mypath': Device or resource busy
直接在容器umount会报umount: /mypath: must be superuser to unmount
需要赋予权限、可访问设备
docker run --name myubuntu --privileged -t -i -v /Users/my/docker:/mypath ubuntu:16.04 /bin/bash
umount /mypath
网友评论