-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Privileged mode for docker exec #10348
Comments
+1 |
ooo do you know what you can do now tho is run a container |
@jfrazelle I don't want to run containers with |
I get that I was just pointing out technically you don't need to be in the container to strace the containers process but I still see how this feature could be useful |
👍 |
Closed by #12025 (will ship with Docker 1.7.0). |
This was reverted by #13491. Reopen please. |
But |
@colin4124 device setup is done on run, not exec, so devices that don't already exist will not be created. |
@tjdett What to do can "sudo losetup -f" work and the files created before still exist? |
@colin4124 you will have to be more specific about what you are doing. Maybe open a new issue as this one is closed. |
Running container as usual:
Using
docker-exec
from @jpetazzo to enter the container, trying to usestrace
(it works):Trying
docker exec
(gettingOperation not permitted
forptrace
):It would be great to have something like
--privileged
flag fordocker exec
to run commands likestrace
in container. This battery should be included, if you know what I mean.The text was updated successfully, but these errors were encountered: