Back to Tutorials
Manage Container Lifecycle
Start, stop, restart, pause, resume, and delete containers; perform bulk actions on Compose services.
Prerequisites
- Docker is running
- At least one container exists (running or stopped)
Scenario 1: Stop and Restart a Container
- Click Containers in the sidebar
- Find the container in the list — running containers show a green badge
- Click the ... (overflow menu) on the container row
- Click Stop — the container transitions to a red "Exited" badge
- To restart, open the overflow menu again and click Start
- To force restart a running container, click Restart — this stops and starts in one action
Scenario 2: Pause and Resume a Container
- Find a running container in the list
- Click the pause icon on the container row — the badge changes to yellow "Paused"
- The container's processes are frozen in memory but not stopped
- Click the play icon on the paused container to resume
Scenario 3: Delete a Container
- Click the ... (overflow menu) on the container row
- Click Delete
- A confirmation dialog appears: "Delete container [name]? This action cannot be undone."
- Click Delete to confirm
- The container is removed from the list
Scenario 4: Bulk Actions on Compose Services
- Click Compose in the sidebar
- Select a running project
- Use the toolbar buttons at the top:
- Stop All — stops all services in the project
- Start All — starts all services
- Restart All — restarts all services
- Remove All — stops and removes all containers, networks, and volumes
What You'll See
- Container status badges update in real-time:
- Green = Running
- Red = Exited / Stopped
- Yellow = Paused
- Gray = Created (not started)
- The Dashboard counters update to reflect current running/stopped/paused counts
- Compose project status shows aggregate state (all running, partially running, all stopped)
Tips
- Stopped containers still occupy disk space for their writable layer — delete containers you no longer need
- Pausing is useful when you want to temporarily free CPU without losing container state
- Containers with restart policy
unless-stoppedoralwayswill auto-restart when Docker restarts, unless you explicitly stopped them - Bulk Compose actions operate on all services in the project — you can also start/stop individual services by right-clicking them in the service list