Your 

Perfect Local
Development Environment
fast
easy to setup
close to production
Fabien said…
„is inconvenient“
„is slow“
local environment is

usually not the same as on

production servers
+
-
+
+
„vagrant up“
2+ parallel usage
good Performance (NFS)
difficult setup, individual
for each project
+
-
+
-
full flexibility
close to production
slow FS (on Mac/Win)
parallel usage difficult
We want to use Docker on a Mac
Docker is fast on Linux
Vagrant installs a Linux VM
Why not run Docker inside a 

standardized Linux box provisioned 

by Vagrant?
VirtualBox Linux VM
git clone
vagrant up
+
-
+
+
easy, standardized setup
full flexibility
good enough performance
takes time to make

everything work
+ parallel usage
+ close to production
nginx
fpm/Project
mysql
blackfire
mailcatcher
Jens Hassler
@lukey47 | j.hassler@iwf.ch
www.iwf.ch/web-solutions

Symfony Con 2018: Local Dev Environment with Docker & Vagrant

  • 1.
    Your 
 Perfect Local DevelopmentEnvironment fast easy to setup close to production
  • 2.
    Fabien said… „is inconvenient“ „isslow“ local environment is
 usually not the same as on
 production servers
  • 3.
    + - + + „vagrant up“ 2+ parallelusage good Performance (NFS) difficult setup, individual for each project + - + - full flexibility close to production slow FS (on Mac/Win) parallel usage difficult
  • 4.
    We want touse Docker on a Mac Docker is fast on Linux Vagrant installs a Linux VM Why not run Docker inside a 
 standardized Linux box provisioned 
 by Vagrant?
  • 5.
    VirtualBox Linux VM gitclone vagrant up + - + + easy, standardized setup full flexibility good enough performance takes time to make
 everything work + parallel usage + close to production nginx fpm/Project mysql blackfire mailcatcher
  • 6.
    Jens Hassler @lukey47 |j.hassler@iwf.ch www.iwf.ch/web-solutions