Skip to content

Latest commit

 

History

History
executable file
·
21 lines (11 loc) · 350 Bytes

README.md

File metadata and controls

executable file
·
21 lines (11 loc) · 350 Bytes

Build the image

docker build . -t hostname docker tag hostname:localhost hostname:v1

Run the image:

docker run --rm --name hostname -p 8080:80 -d rstarmer/hostname

Test that the image works:

curl http://localhost:8080

Stop the running instance:

docker stop hostname

Clean up the local build/run environment:

docker rmi rstarmer/hostname:v1