Docker Machine with VMware Player

VMware Workstation Player & VMware-VIX

# Workstation 14.0.0
ws 19 vmdb 14.0.0 Workstation-14.0.0
player 19 vmdb 14.0.0 Workstation-14.0.0
player 19 vmdb 15.1.0 Workstation-14.0.0
# latest un-versioned
ws 19 vmdb e.x.p Workstation-14.0.0
player 19 vmdb e.x.p Workstation-14.0.0
<InstallParentDir>\VMware\VMwarePlayer\vmplayer.exe
<InstallParentDir>\VMware\VMwarePlayer\vmware-vdiskmanager.exe
<InstallParentDir>\VMwareVIX\vmrun.exe
<InstallParentDir>\VMware\VMwarePlayer
<InstallParentDir>\VMwareVIX
C:\Apps\VMware\VMware Player
C:\Apps\VMware\VMware VIX

Download and Install Docker Binaries

Download/Install MSYS2

C:\Apps\msys64
pacman -Syu
pacman -S base-devel gcc

Install SSH Binaries

Installing and Configuring Golang

GOPATH = %USERPROFILE%\go
PS C:\> mkdir “$env:userprofile\go”

Modifying the VMwareWorkstation Driver

$env:Gopath\src\github.com\pecigonzalo\docker-machine-vmwareworkstation\vmrun.go

vmrun.go:

$env:Gopath\src\github.com\pecigonzalo\docker-machine-vmwareworkstation\vmrun.go

workstation.go:

vmx.go:

$env:Gopath\src\github.com\pecigonzalo\docker-machine-vmwareworkstation\vmx.go

vmrun.go:

$env:Gopath\src\github.com\pecigonzalo\docker-machine-vmwareworkstation\vmrun.go
Compile vmwareworkstation driver

Testing the New Version of the Driver

Create Docker Machine using the New Driver
Check Status of Docker Machine

Working with the Docker Machine

Run hello-world docker image

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store