I think I reason I personally leaned towards Docker Desktop was because I already had it installed and as it was just a simple case of enabling it in the settings it felt the most straightforward way to do it.
Have to say though, I don't disagree with your point. What I'll maybe do is have a play myself and append the alternative approach to my series so others can choose for themselves.
Thanks for the comment 👍
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.
Why bother with Docker Desktop when you can install Docker directly in WSL2?
I've tried Docker Desktop and found that it's simpler to install and run Docker inside WSL2 (Ubuntu).
Also you get an environment which closely resembles one on your production server, which makes testing more realistic.
Added benefit is that you get used do to Docker CLI which can be useful when working with Docker on your server.
That is at least my experience...
I think I reason I personally leaned towards Docker Desktop was because I already had it installed and as it was just a simple case of enabling it in the settings it felt the most straightforward way to do it.
Have to say though, I don't disagree with your point. What I'll maybe do is have a play myself and append the alternative approach to my series so others can choose for themselves.
Thanks for the comment 👍