I\'m trying to build a data container for my application in Docker. I run this command to expose some volumes:
docker run --name svenv.nl-data -v /etc/environmen
You should use:
-v /etc/environment:/etc/environment
instead of:
-v /etc/environment
The former maps container volume to the host volume. The latter tries to create a new volume at /etc/environment and fails since this directory already exists.
/etc/environment