culTest

    One of the 50 questions in this topic

    How much do you know about Docker?

    What command stops services started with docker-compose up?

    Answers

    docker-compose halt
    docker-compose stop
    docker-compose downCorrect
    docker-compose end

    The docker-compose down command stops and removes containers, networks, and volumes (if --volumes is specified) created by docker-compose up. It is more complete than docker-compose stop, which only stops containers without removing them.