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

kic on GCE: docker: Windows does not support privileged mode #7576

Closed
medyagh opened this issue Apr 10, 2020 · 4 comments
Closed

kic on GCE: docker: Windows does not support privileged mode #7576

medyagh opened this issue Apr 10, 2020 · 4 comments
Labels
co/docker-driver Issues related to kubernetes in container kind/bug Categorizes issue or PR as related to a bug. needs-solution-message Issues where where offering a solution for an error would be helpful os/windows priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@medyagh
Copy link
Member

medyagh commented Apr 10, 2020

trying windows VMs in google cloud with docker driver:
I bet I need to start the vms that support nested virtualization. (they support windows too) but if anyone interested to take this task. and do experiment with Windows VMs on google cloud. so we can add them to jenkins for testing

 docker "minikube" container is missing, will recreate.
* Creating Kubernetes in docker container with (CPUs=2) (4 available), Memory=38
00MB (15358MB available) ...                         
*                                                    
X Failed to start docker container. "minikube start" may fix it.: recreate: crea
ting host: create: creating: create kic node: create container: failed args: [ru
n -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run
 -v /lib/modules:/lib/modules:ro --hostname minikube --name minikube --label cre
ated_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --l
abel role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=minikube --vol
ume minikube:/var --cpus=2 --memory=3800mb --expose 8443 --publish=127.0.0.1::84
43 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 gcr.io/k8s-minikube/kicbase
:v0.0.8@sha256:2f3380ebf1bb0c75b0b47160fd4e61b7b8fef0f1f32f9def108d3eada50a7a81]
 output: docker: Error response from daemon: Windows does not support privileged
 mode.                                                                          
See 'docker run --help'.                                                        
: exit status 125                                 
@medyagh medyagh changed the title kic on googe cloud windows VM: docker: Error response from daemon: Windows does not support privileged kic on cloud windows VM: docker: Error response from daemon: Windows does not support privileged Apr 10, 2020
@afbjorklund
Copy link
Collaborator

@medyagh : isn't this the same as #7352 ? has it ever worked, with --privileged (on Windows) ?

@afbjorklund afbjorklund added os/windows co/docker-driver Issues related to kubernetes in container labels Apr 10, 2020
@sharifelgamal
Copy link
Collaborator

Yeah this looks like a dupe of #7352, are you cool if we just use that issue @medyagh?

@tstromberg tstromberg added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. needs-solution-message Issues where where offering a solution for an error would be helpful kind/bug Categorizes issue or PR as related to a bug. labels Apr 15, 2020
@medyagh medyagh closed this as completed Apr 16, 2020
@medyagh medyagh reopened this Apr 16, 2020
@medyagh
Copy link
Member Author

medyagh commented Apr 16, 2020

Yeah this looks like a dupe of #7352, are you cool if we just use that issue @medyagh?

that one is about windows containers, this one is about windows vm in google cloud

@tstromberg tstromberg changed the title kic on cloud windows VM: docker: Error response from daemon: Windows does not support privileged kic on GCE: docker: Error response from daemon: Windows does not support privileged May 1, 2020
@tstromberg tstromberg changed the title kic on GCE: docker: Error response from daemon: Windows does not support privileged kic on GCE: docker: Windows does not support privileged mode May 1, 2020
@medyagh
Copy link
Member Author

medyagh commented Jun 23, 2020

I think we added solution messge for windows containers

@medyagh medyagh closed this as completed Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/docker-driver Issues related to kubernetes in container kind/bug Categorizes issue or PR as related to a bug. needs-solution-message Issues where where offering a solution for an error would be helpful os/windows priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

4 participants