Symfony: Symfony & Docker

Created on 31 Mar 2016  Â·  3Comments  Â·  Source: symfony/symfony

Does Symfony Team plan on Officially Supporting Docker via Implementing Container Configurations?
Maybe Templates or Officially Releasing them on Docker Hub?

RFC

Most helpful comment

I don't see how that would work. The goal of Symfony is to provide a framework and all the flexibility to make your own choices. We had the same discussion in the past for Vagrant and came to the conclusion that it cannot and shouldn't be part of Symfony itself.

All 3 comments

Each one can create his own environment with docker, I don't this is something necessary. IE: I've PHP 7.0.4 for some projects and 5.6 for others.

I don't see how that would work. The goal of Symfony is to provide a framework and all the flexibility to make your own choices. We had the same discussion in the past for Vagrant and came to the conclusion that it cannot and shouldn't be part of Symfony itself.

@fabpot in my view Docker these days stays not further from the core of Symfony than, let's say, CSS minification. It is almost as common as that.

I started looking into ways of dockerizing my Symfony projects recently and naturally went to the cookbook being almost certain that there will be something on Docker in the middle of 2016. There is a section called Workflow which contains articles on a few environments, but there is simply no single mentioning of Docker on the whole website.

That omission is probably something worth fixing in the near future – it would be really good if Symfony experts like you could give advice on how best to run an app using Docker both during dev and in production. This won't make Docker a part of the framework, but will definitely improve the experience for may people from the community.

And speaking of the boundaries of the framework... I remember days when composer was not a part of Symfony and we used to pull git sub-modules to manage vendors. Software development ecosystem changes quite fast and some trends are worth picking.

Was this page helpful?
0 / 5 - 0 ratings