Windows Server 2016 – Docker manage network

Screenshot 20181125 083334

Display a list of all the container networks docker network ls Create a transparent network, instead of using NAT docker network create -d transparent trans More information about docker network create here. Run a container with the transparent network docker run -it –network=trans microsoft/nanoserver powershell To use port-mapping add the -p docker run -it -p 8080:80 microsoft/nanoserver powershell # Map TCP port 80 in the container to port 8080 on the Docker host. More information about docker and networking here.   Windows Server 2016 – Docker manage network

Windows Server 2016 – Docker manage network Read More

Windows Server 2016 – Manage Docker with PowerShell cmdlets

Screenshot 20181124 081451 1

If you haven’t configured PowerShell with docker cmdlets, then read this post. List Containers get-container   Start and Stop container start-container containerID stop-container containerID   Attach to Container enter-containerSession containerID   Remove Container remove-container containerID   Windows Server 2016 – Manage Docker with PowerShell cmdlets

Windows Server 2016 – Manage Docker with PowerShell cmdlets Read More