Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Good Reference at "Get Started with Docker on Windows using Chocolatey"
# Install Chocolatey in Powershell
iex ((new-object net.webclient).DownloadString(''))
# OR in Command
# @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString(''))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
# Install docker
choco install -y virtualbox
choco install -y docker
choco install -y docker-machine
choco install -y docker-compose
# create virtual machine
docker-machine create -d virtualbox dev
docker-machine ls
# start virtual machine
docker-machine start dev
docker-machine ls
# bind to virtual machine
docker-machine env --shell powershell dev | iex
# startup an ubuntu image
docker run --rm -it ubuntu bash
# startup an aspnetboilerplate (
git clone
cd AspNetDockerBoilerplate
docker build -t yourname/aspnet_boiler .
docker run -t -d -p 8080:5000 yourname/aspnet_boiler
# look at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment