To build docker build -t hello-world . To run docker with port 8000 docker run --restart always -p 8000:80 hello-world To run with docker-compose docker-compose up --build