Skip to content

Instantly share code, notes, and snippets.

@sakai135
sakai135 / gist:36cd4b715a6f5368c161a1af44fefb8f
Created April 5, 2017 01:03
Docker on Bash on Windows
$ docker.exe version
Client:
Version: 17.04.0-ce-rc2
API version: 1.28
Go version: go1.7.5
Git commit: 2f35d73
Built: Fri Mar 31 00:00:53 2017
OS/Arch: windows/amd64
@sakai135
sakai135 / DockerHelper.psm1
Last active May 3, 2016 21:28
Docker with Hyper-V
$machine = "default"
$dockerenvfile = "$env:USERPROFILE\.dockerenv"
$hypervSwitch = "vEthernet (Internal)"
function Get-DockerPath
{
param
(
[string]$path = (Get-Item -Path ".\" -Verbose).FullName
)