Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
And this is exactly why I haven’t bothered yet even though I’ve been “told” too by others on here. Just another docker nightmare... I definitely need spare time to go through it thoroughly.
-
JhonDoe28185y@badcopnodonuts welp, it was "cool" for simple stuff like a single container, I had a mongo container running and no problems(other than needing to restart docker manually after login dunno why to be able to start my containers) but for communication between containers and more complex stuff like laradock. nope nope
-
@jurion for dev env it's okay to run in a vm. Deployments on a vm - that's a big far red flag
-
Docker for windows doesn't make any sense. It just doesn't.
Docker is great and I love it. Windows is fine. I guess. To each their own.
But docker is based on LXC, a complicated nightmare built into the kernel. It does it's job but it's a pain to work with. Docker makes it easy. It's a wrapper you could say.
So docker on windows is a wrapper around a feature that doesn't actually exist in windows. So it brings its own container interface. which mostly just implements a micro Linux VM, so that it can have access to LXC like before. Yikes. Hard pass. -
JhonDoe28185y@deadPix3l great insight.
and yes, docker is a linux thing, I knew that could be hard to run it on windows, but at first it wasn't as I state in some comment above.
And as for 'why you should do that?' I did not specify. This is about my development machine, I ran some troubles with linux and as far as I'm concerned I'm stuck developing in windows, so I tried to use containers to not install services natively in windows, like mongo, xampp and that stuff. I'm mostly a linux and I used docker whenever possible, that's what I was trying to do here. -
LMagnus20635yI use WSL with Docker on Windows and it works (almost) fine. Much better than just on Windows.
-
LMagnus20635y@JhonDoe to use it on WSL you need to install docker on Windows and on WSL. You then set an environment variable in WSL that tells docker to use the docker daemon on Windows.
Related Rants
so, docker in windows looks like a mess, could not set up a laravel environment easily, then my last resort was to use a virtual machine and adios docker from my system
rant
docker
back to the basics
dockerizing in windows
virtualbox