Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

create docker host failed when used generic drivers #1751

Closed

Description

The error message:

root@n14:~/.ssh# docker-machine create -d generic --generic-ssh-user yzxu --generic-ssh-key id_rsa --generic-ip-address 10.0.5.137 ubuntu
Importing SSH key...
SSH cmd error!
command: sudo hostname ubuntu && echo "ubuntu" | sudo tee /etc/hostname
err    : exit status 1
output : sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: 3 incorrect password attempts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions