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

Unable to strace in container with docker 1.10 #20064

Closed
tmds opened this issue Feb 6, 2016 · 4 comments
Closed

Unable to strace in container with docker 1.10 #20064

tmds opened this issue Feb 6, 2016 · 4 comments

Comments

@tmds
Copy link

tmds commented Feb 6, 2016

Using strace in a container gives me an 'Operation not permitted' error.

strace: test_ptrace_setoptions_followfork: PTRACE_TRACEME doesn't work: Operation not permitted

@GordonTheTurtle
Copy link

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.

If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.

For more information about reporting issues, see CONTRIBUTING.md.

You don't have to include this information if this is a feature request

(This is an automated, informational response)


BUG REPORT INFORMATION

Use the commands below to provide key information from your environment:

docker version:
docker info:

Provide additional environment details (AWS, VirtualBox, physical, etc.):

List the steps to reproduce the issue:
1.
2.
3.

Describe the results you received:

Describe the results you expected:

Provide additional info you think is important:

----------END REPORT ---------

#ENEEDMOREINFO

@tmds
Copy link
Author

tmds commented Feb 6, 2016

Not a bug, it's a feature!
https://blog.docker.com/2016/02/docker-engine-1-10-security/

@krzkaczor
Copy link

To turn off security features use:

docker run --security-opt seccomp:unconfined ...

@SunnySmilez
Copy link

docker run -t -i --cap_add=ALL container_name /bin/bash
or
docker run -t -i --privileged container_name /bin/bash

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

4 participants