Comments (2)
No, this doesn't work. I've tried that long time ago, but I don't think it has changed.
What you could use instead is bind mount the named pipe into a Windows Container.
On a Windows Server 2022 with Windows Docker engine running you can run a container that uses the Docker engine on the Windows host:
docker run -v //./pipe/docker_engine://./pipe/docker_engine docker:24.0.7-windowsservercore-ltsc2022 docker version
from windows-containers.
PS C:\Program Files\docker> .\dockerd.exe
time="2023-12-30T14:02:37.629123500-08:00" level=info msg="Starting up"
time="2023-12-30T14:02:37.641269100-08:00" level=info msg="Windows default isolation mode: process"
time="2023-12-30T14:02:37.686873100-08:00" level=info msg="[graphdriver] trying configured driver: windowsfilter"
time="2023-12-30T14:02:37.703061300-08:00" level=info msg="Loading containers: start."
time="2023-12-30T14:02:37.706999700-08:00" level=info msg="Restoring existing overlay networks from HNS into docker"
failed to start daemon: Error initializing network controller: failed during hnsCallRawResponse: hnsCall failed in Win32: Class not registered (0x80040154)
As far as I can get it. I manually added all the files and such. But I assume that I would have to extract the class itβs looking for and somehow register it. Or the error is a generic error.
from windows-containers.
Related Issues (20)
- L2Bridge not working correctly on Windows server 2022 - 21H2 HOT 10
- Support Window 10 base image for Windows Service 2022 HOT 1
- Not able to download windows container images HOT 3
- WIN API LoadLibraryA is failling when loading a DLL created by Intel Fortran compiler in Windows Nanoserver container HOT 6
- Loading Minifilters in HyperV containers HOT 3
- pull image from PS command on Docker Desktop Window 10Ent HOT 13
- Plans for Windows 10/11 Containers in the Future HOT 4
- Issues Installing Oracle Instant Client on Windows Container: Network Sharing Problem HOT 2
- `ERROR_ACCESS_DENIED` when trying to open for writing _hidden_ files located in mounted folder inside containers HOT 8
- How to deploy dotnet microservice in iis server inside Docker container HOT 4
- Get-WindowsFeature is not available in mcr.microsoft.com/windows:ltsc2019 HOT 7
- Process Isolation is very slow as compared to HyperV Containers on Server 2019 HOT 5
- regsvr32 fails when registering DAO350.DLL HOT 3
- install-docker scripts failing when passing -useDHCP due to deprecated dependency HOT 4
- MSIX installation support HOT 4
- [MicrosoftDocs] Insufficient Documentation for Windows Server 2022 HOT 3
- [MicrosoftDocs] gMSA Documentation HOT 5
- Issue with missing DLL in runtime:4.8-windowsservercore-ltsc2022 HOT 5
- Windows containers shutdown not working properly on docker (no SIGTERM?) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-containers.