Useful Commands
Reference common Docker and Docker Compose commands for starting, stopping, monitoring, and troubleshooting a Monolith on-premises deployment.
Starting and Stopping Monolith Server
// Deploy and Run Monolith Containers
// Must be run in same directory as docker-compose.yml
docker compose up -d
// Remove Monolith containers
// Must be run in same directory as docker-compose.yml
docker compose downThese commands can be used together to fully stop and restart the Monolith containers.
Various Docker Commands
// Show resource usage of docker containers
docker stats
// Show all containers
docker container ls -a
// Show downloaded container images
docker image ls -a
// Download a container image
docker pull [image-name]
// Restart container
docker container restart [container-name]Docker CLI Reference
Additional Docker commands are available in the official Docker documentation:
Docker Compose CLI Reference
Additional Docker Compose commands are available in the official Docker documentation:
Related Documentation
Last updated
Was this helpful?