PHP & Docker Setup To start up the PHP and nginx containers, first, navigate to the docker directory. Then run docker-compose up -d Then open up your browser and go to http://localhost:8000, to confirm that you see the PHP info page.