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

img command in docker containers, is it supported? #159

Closed
rroller opened this issue Sep 19, 2018 · 4 comments
Closed

img command in docker containers, is it supported? #159

rroller opened this issue Sep 19, 2018 · 4 comments

Comments

@rroller
Copy link
Contributor

rroller commented Sep 19, 2018

It's unclear to from the documentation if I should be able to run img pull and other commands inside a docker container. Is it supported at this point?

On raw linux hosts it works fine. But installing img inside a container and running doesn't. I see

INFO[0001] apply failure, attempting cleanup             error="failed to extract layer sha256:df64d3292fd6194b7865d7326af5255db6d81e9df29f48adde61a918fbd8c332: failed to unmount /tmp/containerd-mount567834531: operation not permitted: failed to mount /tmp/containerd-mount567834531: operation not permitted" key="extract-388613784-ogNh sha256:df64d3292fd6194b7865d7326af5255db6d81e9df29f48adde61a918fbd8c332"
failed to extract layer sha256:df64d3292fd6194b7865d7326af5255db6d81e9df29f48adde61a918fbd8c332: failed to unmount /tmp/containerd-mount567834531: operation not permitted: failed to mount /tmp/containerd-mount567834531: operation not permitted

I've tried this on Docker with Mac and Docker on a Debian linux machine.

Thanks

@jessfraz
Copy link
Collaborator

would you like to make a PR to the docs, it's not supported as stated here: https://github.com/genuinetools/img/blob/master/README.md#running-with-docker

unsure how to make more clear :)

@rroller
Copy link
Contributor Author

rroller commented Sep 19, 2018

Got it. I thought I read something contradicting to that in an issue and wasn't sure if the readme was out of date (but now I can't find the issue). Thanks for confirming.

@rroller rroller closed this as completed Sep 19, 2018
@jessfraz
Copy link
Collaborator

jessfraz commented Sep 19, 2018 via email

@rroller
Copy link
Contributor Author

rroller commented Sep 19, 2018

Thanks again. It looks like docker/cli#1347 is the last remaining blocking issue to get unprivileged to work. I'll follow along there.

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