Minimal Dockerfile example
This is a minimal Dockerfile that you can use to build a test container:
FROM alpine
CMD ["/bin/sh", "-c", "echo 'It works!'"]
Build example:
docker build -t techoverflow-minimal-docker .
Run example:
docker run techoverflow-minimal-docker
Example output:
$ docker run techoverflow-minimal-docker
It works!