Skip to content

Trouble Binding Local Directories in Docker-Compose #376

Answered by tpups
tpups asked this question in Q&A
Discussion options

You must be logged in to vote

Was able to get it working by adding single quotes and changing the path to a relative path:

volumes:
- './config:/config'

Additionally I removed the /opt/volume mount as I don't have the server downloaded outside the container.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lloesche
Comment options

Answer selected by tpups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants