A quickstart to using Docker Compose to run a PHP application in development.
We quickly go over the
docker-compose.yml file used to run our application in Docker.
We quickly go over how we use Volumes with our
docker-compose.yml file to persist our database data.
We quickly go over how we use Networks with our
docker-compose.yml file to communicate between containers.
We'll quickly uncover some of the magic of defining Volumes and Networks in the
docker-compose.yml file, including learning about some caveats.
Linux desktop users may run into file permissions issues when sharing volumes with containers. In this video, we'll see what the issue is and how to fix it.
Let's cover Docker Hub: the public registry for Docker images. We can see where we get official images that we use, and where we store images that we build ourselves.
Let's see how we created our Nginx image and saved to Docker Hub under the Shipping Docker namespace.
Let's see how we created our PHP image and saved to Docker Hub under the Shipping Docker namespace.
We cover how to make running complex Docker commands quickly and easily.
Let's see what happens when we try to ping
localhost from within our PHP container.