I'm hoping to be completely reliant on docker as my sole development environment across my machines but I feel it's much slower than running ruby/rails natively. Did I make a mistake or is this slower performance expected?
I'm a full stack web developer who has been freelancing for the last 20 years. I write about everything from development to production and also have video courses on my site!
Hi. What OS / version are you using and how exactly did you install Docker? On my 4 year old i5 3.2ghz Windows 10 box with an SSD a 10,000+ line Dockerized Rails project with 50+ top level gems detects and reloads code changes in under 100ms (faster than I can manually dart my eyes over to my browser and reload). Assets are a little bit slower to compile but it's definitely not disruptive.
There is nothing special about my set up. It's just stock Windows 10 pro (Fall 2017 update) using WSL (Ubuntu) and Docker for Windows (18.03).
MacOS High Sierra 10.13.4. I installed Docker via Docker CE 18.03.0. If I start up a server with docker, initial loading of localhost:300 takes 92 seconds!
My native rails/postgre initial load takes 21 seconds.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm hoping to be completely reliant on docker as my sole development environment across my machines but I feel it's much slower than running ruby/rails natively. Did I make a mistake or is this slower performance expected?
Hi. What OS / version are you using and how exactly did you install Docker? On my 4 year old i5 3.2ghz Windows 10 box with an SSD a 10,000+ line Dockerized Rails project with 50+ top level gems detects and reloads code changes in under 100ms (faster than I can manually dart my eyes over to my browser and reload). Assets are a little bit slower to compile but it's definitely not disruptive.
There is nothing special about my set up. It's just stock Windows 10 pro (Fall 2017 update) using WSL (Ubuntu) and Docker for Windows (18.03).
MacOS High Sierra 10.13.4. I installed Docker via Docker CE 18.03.0. If I start up a server with docker, initial loading of localhost:300 takes 92 seconds!
My native rails/postgre initial load takes 21 seconds.