Skip to content

[HELP] Stacks location and volume mapping #35

Discussion options

You must be logged in to vote

It is not easy to explain. I find that some people are also confused, I don't know how to make it clear.

I show you more examples here, hope you find the pattern.

CORRECT Examples:

  • /volume1/docker/dockge-stacks:/volume1/docker/dockge-stacks
  • /a:/a
  • /stacks:/stacks
  • /my-stacks:/my-stacks
  • /opt/stacks:/opt/stacks

INCORRECT Examples:

  • /a:/b
  • /docker:/opt/stacks
  • /volume1/docker/dockge-stacks:/my-stacks
  • /stacks:/opt/stacks

Container's Path === Host's Path === MUST

It is a relative path issue of docker-compose which tries to do docker-compose up in the container but the docker server is actually in the host.

This stackoverall post explains more in details:
https://stackoverflow.com/questions/6380…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@ToshY
Comment options

@RyanBalfanz
Comment options

@holocronology
Comment options

@anencephalic
Comment options

Answer selected by holocronology
Comment options

You must be logged in to vote
4 replies
@holocronology
Comment options

@louislam
Comment options

@holocronology
Comment options

@louislam
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants