最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

vagrant - docker on windows 10 with VVV

programmeradmin9浏览0评论
Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 4 years ago.

Improve this question

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.

Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 4 years ago.

Improve this question

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.

Share Improve this question edited Apr 14, 2019 at 15:16 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Apr 14, 2019 at 13:09 shanebpshanebp 5,0856 gold badges27 silver badges40 bronze badges 1
  • I'd say yes. Definitely possible. But I'd need to try it out myself to be 100% sure. Which I'd suggest to you: Simply try it out yourself then you'll know with certainty :) – norman.lol Commented Apr 14, 2019 at 13:19
Add a comment  | 

2 Answers 2

Reset to default 1

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.

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

发布评论

评论列表(0)

  1. 暂无评论