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

Microk8s.reset Breaking Docker Build Command #464

Closed
pixelshaded opened this issue May 9, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@pixelshaded
Copy link

commented May 9, 2019

Using

  • 18.10 of Ubuntu
  • 18.06.1-ce Docker snap
  • 1.11/edge Microk8s snap

If I build an image with docker, then run microk8s.reset, then run the build command again, I get

OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/moby/6240667963cc03f41ebb95973b882af4e99151c15f39ac0bd5ca9bbba1279495/log.json: no such file or directory): exec: "docker-runc": executable file not found in $PATH: unknown

If I reinstall the docker snap, I can run the build command again with no errors. I've echo'd $PATH before and after microk8s.reset and it is unchanged, so I am not sure yet why this is happening.

@ktsakalozos

This comment has been minimized.

Copy link
Collaborator

commented May 13, 2019

Hi @pixelshaded, I suspect some AppArmor denials. Can you check the output of dmesg?

@ktsakalozos

This comment has been minimized.

Copy link
Collaborator

commented May 15, 2019

I cannot reproduce this @pixelshaded. Can you share the Dockerfile you are using and/or any other info I may be missing?

@pixelshaded

This comment has been minimized.

Copy link
Author

commented May 15, 2019

Thanks for trying to help. Not sure if this is related, but as I got further trying to use microk8s, I found some issues mentioning that it doesn't play nice with a local install of docker, so I've opted instead to alias the docker that comes with microk8s. I haven't experienced this issue since.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.