- Install docker: https://www.docker.com/get-started
- Build docker image:
docker build -t hello:latest .
- Run docker image:
docker run -p 8080:8080 --name hello-world -d hello:latest
- Check the container state:
docker ps
- Access it with:
curl 0:8080/
- Cleanup with:
docker rm -f hello-world