Live Coding - Install PHP Symfony in Docker + Docker Volume Tricks

Tonight I am going to install Symfony in a Docker container and demonstrate some tricks with Docker volumes.

In this live coding class I we will:

Create a Dockerfile

Create a Docker image with composer

Install Symfony 4.2.2 inside the Docker container

Create Docker volumes for Symfony cache and logs

Explain the difference between Docker volumes and bind mounts

Do checkout the offers on programming resources below:

== My Programming Courses ==

Professional programming courses for web developers

Docker in Motion

== Recommended Programming Books ==

Manning Publications books

Python books

PHP books

Linux books

MYSQL books

Docker books

Website hosting from Cloudways:


Namecheap $0.88 for a domain

Peter usually live streams on Wednesday and talks about programming and web development topics. Join the live stream and ask Peter questions

Subscribe to the HowToCodeWell newsletter