-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
[BUG] Docker-in-Docker problem/question #219
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
The script is being ran ABC within the container so that's why it can't access that root file path. |
I figured so, if I'm not mistaken though the |
You can't invoke a TTY on a container inside a container that doesn't have a TTY assigned. If you exec into the radarr container assigning a TTY then run the the inner container with a TTY it should work, but it won't work as an automated process where there's no TTY. |
Hard to say, I don't know what container you're attempting to call. |
@thespad |
Either start the outer container with a TTY allocated or rework the script/inner container so it doesn't need a TTY. |
@thespad
Test 1: I enabled the universal-docker-in-docker mod following the directions, when the script is called this is the log:
If I go into docker and run
Test 2: In the second test I disabled the mod and called the script again, this is the result:
Test 3: I re-enabled the mod but I don't call docker run via script, I just perform a check on the variable, this the log:
Sorry to ask again, is this normal? |
A little progress, as assumed at the beginning I tried to run radarr docker by removing PGID and PUID but I got the same thing even setting them to 1000, I got this result, the docker is called and executed by the script:
Now I try to run more tests with the original script, I know I will have problems with permissions on the files, because before everything was saved as nobody:nogroup |
Why don't you tell us your end goal here so we can avoid the xy problem? Spad already mentioned that you can't run tty inside if non-tty. So remove |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Thank you for your support! |
This issue is locked due to inactivity |
Is there an existing issue for this?
Current Behavior
Running a Docker-in-Docker I can't get access to the root folder
Expected Behavior
I would like to run the Docker-in-Docker correctly.
Steps To Reproduce
I specified
to enable the mod
Then inside the script that is called I run
However, I get this error:
test
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: