Docker: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 48: Line 48:
* [https://stackoverflow.com/questions/63572071 Docker published ports are not reachable]
* [https://stackoverflow.com/questions/63572071 Docker published ports are not reachable]
* [https://docs.docker.com/engine/reference/builder/ Dockerfile Reference]
* [https://docs.docker.com/engine/reference/builder/ Dockerfile Reference]
* [https://docs.docker.com/engine/reference/commandline/network/ Docker Network]


|}
|}

Revision as of 16:41, 26 August 2020

Windows 10 Home

# powershell
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
# powershell
docker pull hello-world
docker run -it --rm --name hello hello-world:latest
# gitbash
winpty docker pull hello-world
winpty docker run -it --rm --name hello hello-world:latest

Reference