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 745a4765c1
Try docker/cli#138 artifact
7 years ago
.circleci Install docker ce only once 7 years ago
.gitignore Create nanoserver variant 8 years ago
.travis.yml Add Travis build 7 years ago
Dockerfile.amd64 Use name for build stage 7 years ago
Dockerfile.arm Use name for build stage 7 years ago
Dockerfile.arm64 Use name for build stage 7 years ago
Dockerfile.windows Use name for build stage 7 years ago
LICENSE Initial commit 10 years ago
README.md Update example 7 years ago
appveyor-build.ps1 Use Docker 17.05.0-ce version 7 years ago
appveyor-deploy.ps1 Build and tag for multi-arch 7 years ago
appveyor-test.ps1 Simplify test 7 years ago
appveyor.yml Simplify appveyor.yml 7 years ago
http.go Show OS and ARCH in response 7 years ago
travis-build.sh Use Docker 17.05.0-ce version 7 years ago
travis-deploy.sh Try docker/cli#138 artifact 7 years ago
travis-test.sh Add Travis build 7 years ago
whoami@.service Add CoreOS unit file 10 years ago

README.md

whoami multi-arch image

Build status Build Status This image on DockerHub

Linux

Simple HTTP docker service that prints it's container ID

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

$ curl http://localhost:8080
I'm 736ab83847bb running on linux/amd64

Windows

Simple HTTP docker service that prints it's container ID

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

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

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