![]() ![]() I see the suggestion to use DockerCli.exe but I don't have this installed, even after making sure I installed the latest docker package. Select Switch to Windows containers to use Windows. Can I make this switch from the command line? From the Docker Desktop menu, you can toggle which daemon (Linux or Windows) the Docker CLI talks to. On my Windows desktop machine, I'd use the Docker Desktop context menu from the system tray to switch between linux and windows containers, but that's not available in Windows Core. On your Windows Server 2022, click the Start button, then click on the Ubuntu icon: This will launch the WSL 2 console. Image operating system "linux" cannot be used on this platform Here are the instructions for Ubuntu, according to Docker’s documentation page. ![]() Another Docker client is Docker Compose, that lets you work with applications consisting of a set of containers. The Docker client and daemon communicate using a REST API, over UNIX sockets or a network interface. When I try to use a linux-based image, I get this error: PS C:\Program Files\Docker> docker pull my-linux-based-image The Docker client and daemon can run on the same system, or you can connect a Docker client to a remote Docker daemon. ![]() It is currently set up to run windows-based containers, so I want to switch to running linux containers. I inherited a Windows Server Core machine, and I want to run linux-based containers in docker on that machine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |