A "hello world" webserver container for the Matey Docker configuration guide.
142
![]()
If you haven't already, install Matey.
By default, it is configured to work with the local Docker Engine.
With the Matey service running and waiting for containers, let's start one!
docker start --label matey.enable=true --label matey.frontend.rule=Host:hello-world.localhost getmatey/hello-world
When Matey sees the service, it configures your webserver to route requests to your container so you can reach it. Let's check it with PowerShell.
(Invoke-WebRequest http://hello-world.localhost).Content
Should give you:
Hello, world!
Content type
Image
Digest
sha256:1b4338346…
Size
2.6 GB
Last updated
over 3 years ago
docker pull getmatey/hello-world