본문 바로가기
Development Solutions/Docker

[Solved][Docker] mount failed: Operation not permitted. 해결 방법

by Dev Diary Hub 2022. 8. 23.
반응형

[Docker]

mount failed: Operation not permitted. 해결 방법

 

 

 

docker 컨테이너에 privilege 권한을 줘야한다!

 

docker run --privileged ~~ 의 형태로 컨테이너를 생성해야함

 

 

아래는 해결하는 과정에서 도움됐던 URL

(Privilege permission should be given to docker containers!



Container must be created in the form of docker run --privileged ~~

 

 

Below is the URL that was helpful during the resolution process)

 

https://stackoverflow.com/questions/24614513/can-not-unmount-a-device-using-umount-in-docker

 

Can not unmount a device using "umount" in Docker

I don't know why but, umount is not working in docker. umount: loop3/: must be superuser to umount Let me share one more thing that is It creates loop3 under /mnt/loop3 in real machine. Which is...

stackoverflow.com

 

반응형