A very simple stateless app that runs in Docker.
233
A very simple stateless app that runs in Docker.
A pre-built version of this app is available on DockerHub.
To build the docker image, run this command:
docker build --tag busser/stateless-app .
To run this stateless app, run this command:
docker run --detach --publish 8080:80 --name stateless-app busser/stateless-app
You can now send the app a request like this:
curl localhost:8080/hello/Arthur
The command above would output this:
Hello, Arthur!
Content type
Image
Digest
Size
30.9 MB
Last updated
almost 8 years ago
docker pull busser/stateless-app