Managing Docker Containers

Use the following commands to manage the Docker containers:
Action Command

Pause

docker-compose pause

Unpause

docker-compose unpause

Restart

docker-compose restart

Shut down

docker-compose down

Complete Cleanup (remove persistent data)

docker volume rm $(docker volume ls -q)

This will clean up all the database content and configurations.

Then, you will need to redo and register the master and slave after re-running Mashery Local for Docker.
Note: This command removes all volumes for a docker host. If you have other volumes besides those used by Mashery Local for Docker, you must remove the volumes for Mashery Local for Docker individually.