-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
docker fails if --docker-opt storage-driver=overlay2 is set #7070
Comments
Interesting! Can you share the output of:
Thanks! Also, can you check if removing this flag fixes your issue:
|
Thanks for the quick response. Removing the Here's the Looks like since the storage driver configuration property is duplicated, it errors out? |
@fredsted - Indeed, it seems this is the case:
I believe that this happened in v1.8.x because minikube now needs overlay2 for the image preload optimizations. It looks like we could do something smarter about this. |
Hi, I also have a same problem while executing minikube start. I have virtualbox in my Windows 10 laptop. I am trying to create a K8s cluster using minikube start and having the below issue, PS C:\Program Files\Kubernetes\Minikube> minikube start --iso-url=https://storage.googleapis.com/minikube/iso/minikube-v1.7.0.iso --no-vtx-check --driver=virtualbox
Deleting "minikube" in virtualbox ... Suggestion: Remove the incompatible --docker-opt flag if one was provided Other information,
Please do let me know if you have a fix or workaround. |
@fredsted I also noticed you are using an older minikube, have u tried with our latest version ? |
@medyagh as i mentioned in my comment the latest version of minikube I tried is 1.10.0. And still the problem exists in that version. And I did not try the docker driver. I tried Hyper-v and it works fine. |
@medyagh @pkuma001 : please open a new issue about virtualbox/hyper-v issues, thanks. We should probably not issue that "suggestion", when there is no docker-opt being provided. Should just "merge" that option with the existing default ones, to notice that they are the same. Minikube doesn't "need" overlay2 anyway, so it is more or less redundant The preload should be smart enough to check the driver, and fall back #7626 #7933 |
Any tips on this issue.
|
Any suggestions for the newbies how to get past this? |
@keyhan are you using the docker driver. is there a reason you set --docker-opt storage-driver=overlay2 option ? |
Hi, I am using ubuntu installation of docker, have not touched it. just
done "apt install docker-io". Right now I am upgrading to the latest
release to see if it solves the problem.
…On Wed, Jul 15, 2020 at 9:44 PM Medya Ghazizadeh ***@***.***> wrote:
@keyhan <https://github.com/keyhan> are you using the docker driver. is
there a reason you set --docker-opt storage-driver=overlay2 option ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7070 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIHGM5FXG2DEQ5B2JOP5J3R3YBKRANCNFSM4LNGMV6A>
.
--
-----------------------
Best Regards
Keyhan Hadjari
|
Error message bring me here... Although I don't think I have the same issue. I start minikube by
Output is
I don't use docker driver and docker-opt option. I tried to run Finally I try to delete the |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Started having this problem after upgrading to 1.8.2.
It disappeared after downgrading to back to 1.7.x. Could not find anything recent regarding this anywhere else.
I've tried deleting the
~/.minikube
folder and reinstalling minikube via homebrew. Didn't help.Example of output (see link to full logs below)
The exact command to reproduce the issue:
The full output of the command that failed:
See here: https://sf.gl/files/minikube-out.txt
The operating system version:
macOS 10.15.3
The text was updated successfully, but these errors were encountered: