culTest

    One of the 50 questions in this topic

    How much do you know about Docker?

    What command is used to create a volume in Docker?

    Answers

    docker new volume
    docker add volume
    docker volume createCorrect
    docker create volume

    The docker volume create command is used to create a named volume that can be mounted on containers. Volumes created this way are easier to backup and migrate than anonymous volumes created automatically when mounting a directory.