This is my docker:
» which docker
/snap/bin/docker
» docker --version
Docker version 17.06.2-ce, build a04f55b
Which I installed with:
sudo snap install docker
I try to build an image:
» docker build -f ./Dockerfile .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /var/lib/snapd/void/Dockerfile: no such file or directory
The Dockerfile
is there:
» ls -l Dockerfile
-rw-rw-r-- 1 damane damane 144 Aug 8 13:48 Dockerfile
This is my system:
» lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
This does not directly answer your problem with the snap installation but, I would recommend not using the snap, but following the instructions on the docker documentation page.
That way you'll always have the official and updated release
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With