I'm trying to run minikube with docker on an os ubuntu but when I run the command minikube start --driver=docker
I get the following error:
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-asset1828696490 into minikube:/home/docker/.ssh/authorized_keys, output: unknown shorthand flag: 'a' in -a
See 'docker cp --help'.
: exit status 125
❌ Exiting due to GUEST_PROVISION_CP_PUBKEY: Failed to start host: creating host: create: creating: prepare kic ssh: copying pub key: docker copy /tmp/tmpf-memory-asset1828696490 into minikube:/home/docker/.ssh/authorized_keys, output: unknown shorthand flag: 'a' in -a
See 'docker cp --help'.
: exit status 125
or when I run another command like minikube start --vm
gives the following error:
Failed to start docker container. Running "minikube delete" may fix it: provision: Temporary Error: NewSession: new client: new client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
❌ Exiting due to IF_SSH_AUTH: Failed to start host: provision: Temporary Error: NewSession: new client: new client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
It looks like an authentication error in ssh does anyone know how to help me?