Closing the Docker containers

To stop and remove a Docker container, run a Docker Compose command.

Procedure

  1. On the host machine, go to the Docker working directory where you earlier deployed the Docker image package files (/mdm).
  2. Run the following docker-compose command to stop and remove the related containers and close the network cleanly:
    docker-compose –f <YAML file name> down