-
Notifications
You must be signed in to change notification settings - Fork 832
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
File not found when running docker + python + tox #3380
Comments
@therealkenc I must be missing something. After reading those other issues, I'm not sure why this is closed. I could very well be wrong, but the crux of the issue to me is that it works in the WSL when I clone the project from Windows but fails when I clone from the WSL. I'm not running the docker engine from the WSL (though the client and I then tell the WSL to use the docker engine running from Windows:
Maybe my
Could you please explain how my issue is directly related to the linked issues? I'll be happy to follow them if they may lead to fixing my problem. Thanks for the help. |
Appreciated; that was the missing bit in your OP. You'll get better chances of a hit on this one with CLI repro steps from clean install on your WSL side. Think something a five year old can cut and paste into their terminal. The Windows docker server side you can probably take as a given. Linking an
Yeah there be dragons there. Might be perennial #1529 (or it might not, I just like linking it). [ed] Still smells like #3317 tho, which is three weeks chirping crickets for lack of aforementioned repro steps. |
@therealkenc There definitely are more steps to properly reproduce this. I'll put more into the issue description. And this definitely smells like it could be #1529. Thanks. |
@therealkenc I've updated the description. While I don't see a 5 year old being able to easily walk thru it successfully, I think it covers all the steps to get where I am. I'll get a strace now. EDIT Strace added. |
That's about the best you can do. In a 30 second looksee there isn't a single One last straw-grasp. In your
Delete everything on your |
@therealkenc add I updated Thanks so much! I'll call this closed! |
Great. If I was a little quicker on the uptake I would have clued in on "If I clone the project via Powershell, then I can run docker-compose up, and it works as expected" sooner. Thank you for taking the time to post a repro; that helps contribute on its own merit. |
@therealkenc no worries. Glad we got it working. |
Your Windows build number: (Type
ver
at a Windows Command Prompt)What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
Despite it saying that the
/tox-testing/.tox/py36/log/py36-0.log
file doesn't exist, I can see it does exist.docker-compose up
, and it works as expected.docker-compose up
.Please let me know if more info is needed.
(WIP) Full Process to Reproduce
This is based on this stackoverflow answer
Install Docker for Windows: https://docs.docker.com/docker-for-windows/install/
Configure Docker for Windows:
Expose daemon on tcp://localhost:2375 without TLS
experimental features
Follow https://docs.microsoft.com/en-us/windows/wsl/install-win10 to install Ubuntu
Launch the app and setup username/password
Upgrade packages:
Setup Docker client
Configure the docker server and add the docker binaries to $PATH
Install
docker-compose
Enable proper volume mapping by writing
/etc/wsl.conf
on the Ubuntu filesystem w/ this:Setup mount point for windows drive:
Clone the project into your Windows user's home directory:
Run docker-compose to see it fail
Here's the strace logs from running
strace -ff -o docker-python-tox-strace.log docker-compose up
:The text was updated successfully, but these errors were encountered: