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

failed to register layer: operation not supported when building Docker image with vmwarefusion driver #1764

Closed
jrutley opened this issue Jul 27, 2017 · 6 comments
Labels
co/vmwarefusion-driver Issues with legacy VMware Fusion Driver kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@jrutley
Copy link

jrutley commented Jul 27, 2017

Minikube version (use minikube version): v0.21.0

Environment:

  • OS (e.g. from /etc/os-release): Mac OS X Sierra (10.12.5)

  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): vmwarefusion

  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION): I tried both minikube-v1.0.6.iso and minikube-v0.23.0.iso

  • Install tools:
    brew install kubectl

  • Others:
    VMWare Fusion 8.5.8
    a hello world Node app

What happened:
I essentially started following the directions from here:
https://kubernetes.io/docs/tutorials/stateless-application/hello-minikube/

with the exception that I substituted vmwarefusion for xhyve

What you expected to happen:
I expected the Docker image to be built successfully

How to reproduce it (as minimally and precisely as possible):

I ran the following commands:
minikube start --vm-driver=vmwarefusion
eval $(minikube docker-env) to set the Docker env
docker build -t hello-node:v1 .

Anything else do we need to know:
My Dockerfile used Node 8 instead of 6.9.2, but I tried with both and got the same result.

Here's what the result looked like:
Jeramys-MBP:kubetest jeramy$ docker build -t hello-node:v1 .
Sending build context to Docker daemon 3.072kB
Step 1 : FROM node:8
8: Pulling from library/node
ad74af05f5a2: Pull complete
2b032b8bbe8b: Extracting [==================================================>] 19.26MB/19.26MB
a9a5b35f6ead: Download complete
3245b5a1c52c: Download complete
afa075743392: Download complete
9fb9f21641cd: Download complete
b1074d048a61: Download complete
602b2c2b7041: Download complete
failed to register layer: operation not supported

Building the Docker image without running eval $(minikube docker-env) builds the image just fine.
I noticed when I opened the Minikube VM directly in VMWare Fusion that it said I should upgrade it to a later image.
Afterward, I downloaded xhyve and it created the image fine

@rvowles
Copy link

rvowles commented Jul 30, 2017

this seems to be the same issue i am getting, someone here mentioned it: #1087

@jrutley
Copy link
Author

jrutley commented Jul 31, 2017

Yeah, I saw that issue too. I wasn't sure if it was exactly the same or not, so I opened a new one

@rvowles
Copy link

rvowles commented Jul 31, 2017 via email

@r2d4 r2d4 added co/vmwarefusion-driver Issues with legacy VMware Fusion Driver kind/bug Categorizes issue or PR as related to a bug. labels Sep 2, 2017
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 4, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 8, 2018
@jrutley
Copy link
Author

jrutley commented Feb 17, 2018

It's a bit late, but it seems to be fixed

@jrutley jrutley closed this as completed Feb 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/vmwarefusion-driver Issues with legacy VMware Fusion Driver kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

5 participants