Docker - kylessukaichang/kylessukaichang.github.io GitHub Wiki

DCA Exam

Virtualization

  • Containers on Windows
    • Concepts
      • Networking
        • Windows container networking
        • Network topologies and drivers
          • Docker CLI Command on Windows
            • docker network create -d <NETWORK DRIVER TYPE> <NAME>
          • nat
            • default network
              • The default internal IP prefix
                • 172.16.0.0/16
            • be connected to an internal Hyper-V switch
            • receive an IP address from the user-specified (--subnet) IP prefix
            • Port forwarding / mapping from the container host to container endpoints is supported.
          • overlay
          • transparent
            • preexisting network created by PowerShell or Hyper-v Manager.
            • be directly connected to the physical network through an external Hyper-V switch.
              • IPs from the physical network
                • be assigned statically (requires user-specified --subnet option)
                • dynamically using an external DHCP server.
            • in a virtualization scenario (container host is a VM) MAC address spoofing is required.
              • connecting your container hosts over a transparent network is not supported on Azure VMs.
            • docker network create -d "transparent" --subnet 10.244.0.0/24 --gateway 10.244.0.1 -o com.docker.network.windowsshim.vlanid=7 -o com.docker.network.windowsshim.dnsservers="10.244.0.7" my_transparent
          • l2bridge
          • l2tunnel.
        • Network isolation and security
        • Configure advanced networking options

Windows Server Core

ASP.Net Core Docker Image

nano server

nginx

⚠️ **GitHub.com Fallback** ⚠️