Docker: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 46: Line 46:


| valign="top" |
| valign="top" |
* [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]


|}
|}

Revision as of 16:37, 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