SW 개발

[Docker] Docker space Error 해결

. . . 2019. 8. 21. 13:54
반응형

docker 를 빌드머신으로 사용중에... 스페이스 어쩌구 에러가 나는경우 발생

docker 에서 빌드될때 뭐 "No space left on device errors" 해결

host 에서 다음과같이 해결한다.

stack overflow 에서의 내용

Possible Issues
Depending on the host system being run, when executing yocto builds, one might run into the fullowing error:

ERROR: No space left on device or exceeds fs.inotify.max_user_watches?

Please check the max_user_watches value on your host system using:

cat /proc/sys/fs/inotify/max_user_watches

If the value is set too low (eg: 8192), use the following command to set it properly. Please ensure that you have root/sudo priviledges to do this.

sudo sysctl fs.inotify.max_user_watches=1000000

This should solve the problem with No space left on device errors.

위와같은 내용이 검색..

host 에서 sudo sysctl fs.inotify.max_user_watches=1000000 명령어를 치면된다.

반응형