unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /var/lib/snapd/void/Dockerfile: no such file or directory


if you install docker using snap, it can be happen.

so remove docker from snap installation

> sudo snap remove docker

And install docker again using apt

> sudo apt update
> sudo apt upgrade
> sudo apt install docker.io
> sudo systemctl enable --now docker

Thank you.

No comments:

Post a Comment