How to ssh into docker-machine VirtualBox instance?

You can log into docker-machine hosts by just running

docker-machine ssh default

(Using the “default” host here)

The identity files should be stored under ~/.docker/machine/machines. If you want to log into a container (as opposed to the host), use docker exec as suggested by user2915097.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)