Docker commands that help with networks

          1. $ docker network ls - list docker networks
          2. $ docker network inspect [ID] - network info (including containers in it)
          3. $ docker disconnect [cont ID} - disconnect a container from a network
          4. $ docker network rm [ntwk ID] - remove entire network

Benefits of linked containers

        1. Microservices
        2. Docker creates secure tunnel between containers
          1. No need to expose external ports to link services

results matching ""

    No results matching ""