Reputation: 61
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
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
Reputation: 52656
Right click on icon at bottom-right corner of Windows task bar
Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All
Upvotes: 10
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