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
FileNotFoundError occurs in python operator in docker #649
Comments
Hello, @kanga333 I'm not familiar Python. My file layout is
See detail. https://github.com/hiroyuki-sato/digdag-support/tree/master/core_649_python_and_docker |
Oh I tested local mode. I’ll test sever mode later |
Server mode also worked correctly as you expected. |
Thank you for your prompt response. I am trying to run on CoreOS 1298.7.0. The version is slightly different from the one I actually encountered, but I prepared the reproduction environment below. Given the difference between your test and my situation, I think that digdag server is running inside docker is a condition of reproduction. Outline drawing
|
Can you try I added `-v /tmp:/tmp' Thank you mapk0y |
Thank you for your advice!! As for me, this workaround has no problem. |
I think this is docker in docker problem and not issue on Digdag itself. |
Close the old issue. Please reopen or file new one if you need. |
HI.
I am running the digdag server in the docker container with the following version.
The digdag server mounts docker.sock and makes sibling containers possible.
Attempting to execute the python operator in the sibling container with the following dig file will cause FileNotFoundError.
python-with-docker.dig
myclass.py
log
Since the shell operator is working well, I guess it's a problem in running the python operator inside docker.
The text was updated successfully, but these errors were encountered: