docker on windows 10 with VVV

I've been using VVV on a Win 10 Pro machine for local dev. And it works great.

But I want to try things like wpgraphql via docker.

I've read about Docker Desktop for Windows vs. Docker Toolbox. We would prefer not to use the legacy solution ( Docker Tookbox ).

Is it possible to use Docker Desktop for Windows on the same machine that is using VirtualBox ( VVV ) ?

I'm not opposed to using Docker for all our local dev sites, but it would be nice to have the option to use either. Or at least be able to test Docker without hosing our VVV setup.

Topic docker vagrant Wordpress

Category Web


Backup your database, destroy the VM, set the provider to Hyper-V, then reprovision and restore the database. Now your VVV instance is using Hyper-V instead of VirtualBox.

Then you should be able to run docker on Windows and still use VVV. But for something like WP GraphQL, it's overkill to setup a brand new local environment from scratch just to install a plugin to test.

In future, ask the VVV team on GitHub and Slack though, Docker and VVV are both offtopic here


It is not possible to use Docker Desktop for Windows with Vagrants due to Docker's use of Hyper-V.
Docker Toolbox can be used but it is a legacy version and getting localhost to work is a pain. Instead, we set up Mint on an old laptop and installed Docker CE and it works great.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.