0

I've created a docker-machine on AWS EC2 using:

$ docker-machine create --driver amazonec2 aws01

in the terminal of my Ubuntu desktop computer. Now I want to reconnect/reattach myself to this machine on my laptop using

docker-machine create \
    --driver generic \
    --generic-ip-address=<your_ip> \
    --generic-ssh-key ~/.ssh/id_rsa \
    vm

which I saw in this question.

I don't know if this is even working or if it is the correct way to reattach/reconnect to a docker-machine. But what I want to know for now is what is supposed to go in the --generic-ssh-key parameter? Which key should I provide here?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.