Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] docker failed to register layer: lstat /var/lib/docker/overlay2/ #19

Open
yunyoung1819 opened this issue Nov 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@yunyoung1819
Copy link
Owner

Issue Description

  • docker failed to register layer: lstat /var/lib/docker/overlay2/

Cause

  • docker 에서 명령어 실행 중 docker failed to register layer: lstat /var/lib/docker/overlay2/ 혹은 no such file or directory 오류가 발생

Solution

도커 모든 정보 초기화 작업 진행 후 다시 실행

1. docker rm $(docker ps -a -q)
2. docker rmi $(docker images -q)
3. service docker stop / systemctl docker stop
4. sudo rm -rf /var/lib/docker/overlay2
5. service docker start / systemctl docker start  (본인은 Docker Desktop application으로 실행)

Reference

@yunyoung1819 yunyoung1819 added the bug Something isn't working label Nov 12, 2023
@yunyoung1819 yunyoung1819 self-assigned this Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant