You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Stefan Scherer bf3bf5b278
Link to swarm-mode demo setup
7 years ago
.gitignore Create nanoserver variant 8 years ago
Dockerfile Create nanoserver variant 8 years ago
Dockerfile.build Create nanoserver variant 8 years ago
LICENSE Initial commit 10 years ago
README.md Link to swarm-mode demo setup 7 years ago
appveyor.yml [ci skip] 7 years ago
build.ps1 Create tmp folder 7 years ago
deploy.ps1 Add AppVeyor build 7 years ago
http.go Add whoami service 10 years ago
test.ps1 Test after some seconds of sleep 7 years ago
whoami@.service Add CoreOS unit file 10 years ago

README.md

whoami for Windows

Build status

Simple HTTP docker service that prints it's container ID

$ docker run -d -p 8000:8000 --name whoami -t stefanscherer/whoami-windows
736ab83847bb12dddd8b09969433f3a02d64d5b0be48f7a5c59a594e3a6a3541

$ (iwr http://$(docker inspect -f '{{ .NetworkSettings.Networks.nat.IPAddress }}' whoami):8000 -UseBasicParsing).Content
I'm 736ab83847bb

Used for a first swarm-mode demo with Windows containers.