minikube: Failed to start docker container: docker copy to minikube:/home/docker/.ssh/authorized_keys, output: lstat tmpf-memory-asset: no such file or directory

I am using Ubuntu 20.04 LTS

Steps to reproduce the issue:

1.Installed kubectl according to the instructions from the official website 2. Installed minicube according to the instructions from the official website 3. running ‘minikube start’

Full output of failed command:

Failed to start docker container. Running "minikube delete" may fix it: creating host: create: creating: prepare kic ssh: copying pub key: docker copy /tmp/tmpf-memory-asset517477271 into minikube:/home/docker/.ssh/authorized_keys, output: lstat /tmp/tmpf-memory-asset517477271: no such file or directory
: exit status 1

Full output of minikube start command used, if not already included:

Optional: Full output of minikube logs command:

Failed to start docker container. Running "minikube delete" may fix it: creating host: create: creating: prepare kic ssh: copying pub key: docker copy /tmp/tmpf-memory-asset517477271 into minikube:/home/docker/.ssh/authorized_keys, output: lstat /tmp/tmpf-memory-asset517477271: no such file or directory : exit status 1

I tried many possible solutions available on the internet (e.g. deleting minikube and restarting, destroying all docker servers running and restarting etc.)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

@LordBertson I’ve tried all these steps but this doesn’t help. Docker works perfectly fine by itself. Running containers with no issues.

I’ve opened https://github.com/kubernetes/minikube/issues/10496 since it seems different issue.

@esentai8 I belive we have fixed this on the HEAd and it will be included on minikube 1.17.0