These instructions will running on your local machine a dockerized nginx + PHP7.2 environment.
As a prerequisite, be sure to install Docker Compose if you have not already done so.
We can build the application using docker-compose up
. This will show the images being built and starting.
docker-compose -f docker.dev.yml up
The docker exec
command runs a new command in a running container.
docker exec -ti docker_php bash
You can access to your test application via http://localhost:8080.