Public Repository

Last pushed: 2 years ago
Short Description
A Dockerfile to run any Symfony project with Docker
Full Description

Tags / Versions

  • latest: The last version
  • v2 For Symfony2 projects
  • v3 For Symfony3 projects

Running the image

To run the image, just:
docker run -it -v /path/to/your/host/symfony/project:/code -p 8000:8080 raphy/symfony

The Symfony builtin web server will prompt.
You can now access to the web root of the project at http://localhost:8000

Reading the logs

You can reattach the process and get a shell:
docker exec -it {container_id} /bin/bash

You will be able to run commands in the container:
I have no name!@89ba968e23bd:/code$ tail -f var/logs/dev.log

Docker Pull Command
Owner
raphy