Forked from https://github.com/StefanScherer/whoami.git
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.
Stefan Scherer
2a2c6b7ff8
|
8 years ago | |
---|---|---|
.gitignore | 8 years ago | |
.travis.yml | 8 years ago | |
Dockerfile.amd64 | 8 years ago | |
Dockerfile.arm | 8 years ago | |
Dockerfile.arm64 | 8 years ago | |
Dockerfile.windows | 8 years ago | |
LICENSE | 10 years ago | |
README.md | 8 years ago | |
appveyor-build.ps1 | 8 years ago | |
appveyor-deploy.ps1 | 8 years ago | |
appveyor-test.ps1 | 8 years ago | |
appveyor.yml | 8 years ago | |
http.go | 10 years ago | |
travis-build.sh | 8 years ago | |
travis-deploy.sh | 8 years ago | |
travis-test.sh | 8 years ago | |
whoami@.service | 10 years ago |
README.md
whoami multi-arch image
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
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
Used for a first swarm-mode demo with Windows containers.