Last active
October 26, 2022 09:17
-
-
Save elonmallin/ec1f1a750b44b754347c4f985d28e1d1 to your computer and use it in GitHub Desktop.
Docker (mounted from host) in docker for windows containers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -it --volume //./pipe/docker_engine://./pipe/docker_engine --mount type=bind,source="C:\Program Files\Docker",destination="C:\Users\ContainerAdministrator\AppData\Local\Microsoft\WindowsApps" --entrypoint=powershell mcr.microsoft.com/windows/servercore:ltsc2019 docker --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment