Skip to content

Instantly share code, notes, and snippets.

@PixelRobots
Created January 15, 2018 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PixelRobots/706b8e66b78f4ba37003a0d2376403a9 to your computer and use it in GitHub Desktop.
Save PixelRobots/706b8e66b78f4ba37003a0d2376403a9 to your computer and use it in GitHub Desktop.
Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
Docker version
& "C:\Program Files\Docker\Docker\DockerCli.exe" -SwitchDaemon
Docker run microsoft/nanoserver
Docker ps -a
Install-Module posh-docker
Import-Module posh-docker
if (-Not (Test-Path $PROFILE)) {
New-Item $PROFILE -Type File -Force
}
Add-Content $PROFILE "`nImport-Module posh-docker"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment