Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Particular path doesn't mount in docker: /usr/local/bin/docker-compose #3317

Closed
ODemidenko opened this issue Jun 20, 2018 · 1 comment
Closed

Comments

@ODemidenko
Copy link

windows 1803
I need to run docker-compose from within docker container. for this purpose I use following mounting:

volumes:
	      - /var/run/docker.sock:/var/run/docker.sock
	      - /usr/bin/docker:/usr/bin/docker
	      - /usr/local/bin/docker-compose:/usr/local/bin/docker-compose`

docker.sock mounts perfectly. I can create new docker containers from within a container.
But docker-compose isn't mounted (creates an empty folder in docker, instead of the mounted file).

What can be the reason for the /usr/local/bin/docker-compose not to get mounted?

The only specific wsl setting that can potentially affect this is:
/etc/wsl.conf
which is set like this:

[automount]
root = /
options = "metadata"
@therealkenc
Copy link
Collaborator

This submission could not be reproduced locally. If the problem persists on 1904[23], please open a new ticket following the template, including detailed CLI steps to manifest the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants