Dockerfile produces invalid volume "."
When using the Dockerfiles dev-target to build an image, the container fails to start with the following message:
Error response from daemon: invalid mount config for type "volume": invalid mount path: '.' mount path must be absolute
This is due to the volume-definition in the Dockerfile, which defines VOLUME
. Here an absolute path seems to be required.
Environment
Docker: 20.10.12 Docker-Compose: 2.2.3
Steps to Reproduce
- Build the docker container with the target dev (via docker-compose file in the
feature/docker-compose-setup
branch of meta). - Create the container via docker-compose up -d
Expected Result
The container is created and will start.
Actual Result
The container fails with the mentioned error-message.
Severity/Priority
This error is preventing the usage of the dockerized container, I'll provide a fix with a MR.