An easy way to launch a Symfony application with Docker
docker run -d \
-v `pwd`:/srv \
-p 80:80 \
--name project_name \
romqin/symfony
xdg-open "http://`docker inspect --format="{{.NetworkSettings.IPAddress}}" project_name`"
# You can replace xdg-open with firefox or something else
docker exec -ti project_name app/console
Content type
Image
Digest
sha256:37de13820…
Size
170.7 MB
Last updated
almost 11 years ago
docker pull romqin/symfony