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 kill/restart/stop containers with 0.9.1 and Ubuntu 14.04 #5082

Closed
javacruft opened this issue Apr 8, 2014 · 3 comments
Closed

Comments

@javacruft
Copy link

I can create and run containers just fine; however if I try to stop/restart/kill them I get the following error in the docker log:

[debug] server.go:924 Calling POST /containers/{name:.*}/kill
2014/04/08 15:35:28 POST /v1.10/containers/198df4757679/kill?signal=KILL
[/var/lib/docker|0d2a3a91] +job kill(198df4757679, KILL)
Cannot kill container 198df4757679: permission denied
[/var/lib/docker|0d2a3a91] -job kill(198df4757679, KILL) = ERR (1)
[error] server.go:950 Error: Cannot kill container 198df4757679: permission denied
[error] server.go:85 HTTP Error: statusCode=500 Cannot kill container 198df4757679: permission denied

Downgrading to a 0.8.x release allows me to perform these actions

@tianon
Copy link
Member

tianon commented Apr 8, 2014

This looks to me like it's the apparmor issues that were fixed in master by #5049 - any chance you could test out that change and let us know? :)

@javacruft
Copy link
Author

Testing that patch now

@javacruft
Copy link
Author

@tianon that fixed things up nicely although I did have to remove the existing docker apparmor profile to make docker generate a new one.

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

2 participants