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 enable container runtime: running command: sudo systemctl start docker: exit status 1 #4217

Closed
huguesalary opened this issue May 7, 2019 · 4 comments
Labels
co/none-driver triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@huguesalary
Copy link
Contributor

When starting minikube on an OS with a running docker server, but without a systemctl binary, I get the following error: Failed to enable container runtime: running command: sudo systemctl start docker: exit status 1

Of course, it can't start docker via systemctl, docker is already running, and, systemctl is not valid binary on my synology drive.

minikube start --v=7 --memory 1000 --cpus 1 --disk-size=120000MB --vm-driver=none

o   minikube v1.0.1 on linux (amd64)
-   minikube will upgrade the local cluster from Kubernetes 1.12.5 to 1.14.1
i   Tip: Use 'minikube start -p <name>' to create a new cluster, or 'minikube delete' to delete this one.
:   Restarting existing none VM for "minikube" ...
:   Waiting for SSH access ...
-   "minikube" IP address is 192.168.86.23
-   Configuring Docker as the container runtime ...

!   Failed to enable container runtime: running command: sudo systemctl start docker: exit status 1

*   Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
-   https://github.com/kubernetes/minikube/issues/new

Is it possible to bypass the use of systemctl (and journalctl)?

@afbjorklund
Copy link
Collaborator

This is a known issue, systemd is currently required: #2704 #3174 #3748

@tstromberg tstromberg added the triage/duplicate Indicates an issue is a duplicate of other open issue. label May 14, 2019
@tstromberg
Copy link
Contributor

Duplicate of #2704

@tstromberg tstromberg marked this as a duplicate of #2704 May 14, 2019
@dianaabv
Copy link

dianaabv commented Nov 5, 2019

rm -rf ~/snap/docker

It is recommended to use the apt installation of docker from (Docker, when using the none driver. The snap installation of docker does not work with minikube.

@eskuai
Copy link

eskuai commented Jan 10, 2020

@dianaabv . Yes, in my case, the snapd is the problem.
tx

apupier added a commit to camel-tooling/vscode-camelk that referenced this issue Nov 13, 2020
apupier added a commit to camel-tooling/vscode-camelk that referenced this issue Nov 17, 2020
apupier added a commit to camel-tooling/vscode-camelk that referenced this issue Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/none-driver triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

5 participants