Saran
Saran

Reputation: 61

Switch to windows containers with docker for windows toolbox

I have installed docker for windows toolbox on windows 7 64 bit os. I am unable to switch to windows container using docker menu as the docker icon is not available in systray. Docker service is also not available. Docker CLI executable isn't available on any folder. However docker commands are working and simple containers are getting created.

Any suggestions for how to switch to windows containers will be appreciated.

Upvotes: 6

Views: 22375

Answers (3)

NeoNimrod
NeoNimrod

Reputation: 11

I am running Docker Desktop 4.34 and the topic is actually clearly documented on the official Docker web page:

https://docs.docker.com/desktop/install/windows-install/

Important To run Windows containers, you need Windows 10 or Windows 11 Professional or Enterprise edition. Windows Home or Education editions only allow you to run Linux containers.

Upvotes: 1

Vy Do
Vy Do

Reputation: 52656

Right click on icon at bottom-right corner of Windows task bar

enter image description here

enter image description here

enter image description here

Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All

Upvotes: 10

BMitch
BMitch

Reputation: 264831

Docker toolbox includes docker machine to run docker inside of a Linux VM. There is no option to run native Windows containers with this install.

To run native Windows containers, you need a HyperV based install on Windows 10 or Server 2016: https://docs.docker.com/docker-for-windows/install/

Upvotes: 3

Related Questions