Demonstrates a simple web application in Go that returns a "Hello, World!" message.
[TOC]
docker build -t simple-hello-word-web-app-in-go .
docker run -p 8080:8080 --name shwwaig simple-hello-word-web-app-in-go
docker run -p 8080:8080 --name shwwaig registry.dc5.eu/public/simple-hello-word-web-app-in-go@sha256:d2ee8ef650588fa18d00705ede568f9506d7aa4ffb5fb1cb012fc0739810187c &
Open a web browser and navigate to http://localhost:8080/
to see the "Hello, World!" message.
or
curl http://localhost:8080/
Tag an image for this project
docker tag simple-hello-word-web-app-in-go registry.dc5.eu/public/simple-hello-word-web-app-in-go:20240626
Login to the registry
docker login registry.dc5.eu
Push an image to this project
docker push registry.dc5.eu/public/simple-hello-word-web-app-in-go:20240626
docker pull registry.dc5.eu/public/simple-hello-word-web-app-in-go@sha256:d2ee8ef650588fa18d00705ede568f9506d7aa4ffb5fb1cb012fc0739810187c