Docker – 3 Ways to Access Docker VM on Windows

1.Docker Quickstart Terminal

1

Start “Docker Quickstart Terminal” and type in

$ docker-machine ssh <docker machine name>

1

 

2. gitBash

Start “gitBash” and type in

$ docker-machine ssh <docker machine name>

1

 

3. Powershell or CMD

Here use powershell as an example:

3.1 Get VM IP

$ docker-machine ip <docker_machine_name>

1

3.2 SSH to VM

username: docker

password: tcuser

$ssh docker@<ip>

1

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s