Docker Community Forums

Share and learn in the Docker community.

Can I run Windows containers using Docker Toolbox?


(Jamiet) #1

I would like to run Windows containers on my Windows 10 Pro machine. I already make significant use of VirtualBox to run Linux VMs and thus after reading this:

Docker for Windows requires Microsoft Hyper-V to run. The Docker for Windows installer enables Hyper-V for you, if needed, and restart your machine. After Hyper-V is enabled, VirtualBox no longer works
https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install

I decided to install Docker Toolbox rather than Docker for Windows.

However, I would also like to run Windows containers. Is there a way to run Windows Containers using Docker Toolbox? I think the answer is no but wanted to check anyway.

Failing that, do I have any other option for running Windows containers that will still enable me to use my VirtualBox VMs?


(Raj Chaudhuri) #2

Sadly, the only way to run Windows containers is Docker for Windows, and that means Hyper-V. As a fellow VirtualBox user, I feel your pain.

I dual-boot for precisely this reason.


(Jamiet) #3

Thankyou @rajchaudhuri for confirming. Tis a shame but dual-boot is a good suggestion. Thanks again.


(Raj Chaudhuri) #4

This article might help you. It shows how to create boot entries in the Windows Boot Manager for Hyper-V and (not Hyper-V).