Skip to content

docker fails if --docker-opt storage-driver=overlay2 is set #7070

Closed
@fredsted

Description

@fredsted

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)

W0317 10:02:52.019784    1773 exit.go:101] Unable to start VM. Please investigate and run 'minikube delete' if possible: creating host: create: Error creating machine: Error running provisioning: ssh command error:
command : sudo systemctl -f restart docker
err     : Process exited with status 1
output  : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

The exact command to reproduce the issue:

minikube start --v 10 --logtostderr \
  --disk-size="20G" \
  --cpus="4" \
  --docker-opt storage-driver=overlay2 \
  --extra-config=apiserver.authorization-mode="RBAC" \
  --kubernetes-version v1.15.5 \
  --memory="5120" \
  --network-plugin=cni \
  --enable-default-cni \
  --vm-driver="hyperkit"

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    co/runtime/dockerIssues specific to a docker runtimekind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions