culTest

    One of the 50 questions in this topic

    How much do you know about Docker?

    What command is used to create a network in Docker?

    Answers

    docker add network
    docker network new
    docker network createCorrect
    docker create network

    The docker network create command is used to create a new Docker network. Allows you to specify the network driver, configuration options such as subnets, and labels. Custom networks facilitate secure communication between related containers.