Skip to content

Instantly share code, notes, and snippets.

@elonmallin
Last active October 26, 2022 09:17
Show Gist options
  • Save elonmallin/ec1f1a750b44b754347c4f985d28e1d1 to your computer and use it in GitHub Desktop.
Save elonmallin/ec1f1a750b44b754347c4f985d28e1d1 to your computer and use it in GitHub Desktop.
Docker (mounted from host) in docker for windows containers
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