Open aadpM2hhdixoJm3u opened 4 years ago
I have a clean Docker installation on Ubuntu
Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial
Server: Docker Engine - Community Engine: Version: 19.03.5 API version: 1.40 (minimum version 1.12) Go version: go1.12.12 Git commit: 633a0ea838 Built: Wed Nov 13 07:48:43 2019 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.2.10 GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339 runc: Version: 1.0.0-rc8+dev GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 docker-init: Version: 0.18.0 GitCommit: fec3683
And when trying to run sudo docker build -t coinmarketcap-exporter:latest . I get
sudo docker build -t coinmarketcap-exporter:latest .
> Sending build context to Docker daemon 14.34kB > Error response from daemon: unexpected error reading Dockerfile: read /var/lib/docker/tmp/docker-builder370705474/Dockerfile: is a directory
Any idea on what causes this behavior?
you may want to check your working directory:
git status
make sure your git is clean.
I have a clean Docker installation on Ubuntu
And when trying to run
sudo docker build -t coinmarketcap-exporter:latest .
I getAny idea on what causes this behavior?