matthijsvisser / kamstrup-402-mqtt

This project provides a Python library that enables communication with the Kamstrup Multical 402 heat meter. The configured parameters will be read from the meter at a certain interval and published in MQTT messages.
MIT License
45 stars 11 forks source link

Docker error while installing #12

Closed 19jm81 closed 1 year ago

19jm81 commented 1 year ago

Hi, when I try to install the docker build I get this error:

sudo docker build -t kamstrup . [+] Building 0.6s (2/2) FINISHED
=> [internal] load build definition from dockerfile 0.2s => => transferring dockerfile: 2B 0.1s => [internal] load .dockerignore 0.2s => => transferring context: 2B 0.1s ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount863944789/dockerfile: no such file or directory

Any idea how to fix it?

matthijsvisser commented 1 year ago

Hey,

Just to make sure that your Docker installation works, can you run the following commands?

docker version

and

docker run hello-world

19jm81 commented 1 year ago

both commands run fine

19jm81 commented 1 year ago

Found it, working now!

matthijsvisser commented 1 year ago

Great! What was the issue?

19jm81 commented 1 year ago

I edited the docker-compose.yml with the correct locations and that seemed to have helped.