Repository navigation
unpause
This document details the behavior, execution flow, and selection mechanics of DAM's unpause command.
Resumes containers that have been suspended using the pause command. The processes inside the containers will continue execution exactly where they left off, without restarting or losing their in-memory state.
Use <app>:<service> to unpause only one service:
dkr unpause <app-name>:<service>DAM passes the service name to docker compose unpause and displays status for that service.
<cmd> unpause <app-selection>For each specified app, DAM performs the following exact sequence:
DAM locates the application directory using its discovery engine (find_app_dir).
DAM changes into the application directory and runs:
docker compose [-f <file>...] unpause- If the app's containers are currently paused, Docker resumes their processes via cgroups freezing logic.
- If the app's containers are already running (not paused), Docker gracefully handles it by doing nothing and returning success.
- If the app is fully stopped (down), Docker Compose will return an error indicating there are no running containers to unpause, and DAM will catch this and report failure for that app.
Immediately after unpausing, DAM verifies the new state by running:
docker compose psThis gives you immediate visual confirmation that the STATUS column has shifted from Paused back to Up.
Append using <file1> <file2>... to select Compose files explicitly. If none of the requested files resolve for an app, unpause logs an informational message and falls back to that app's default Compose file. If one or more resolve, DAM uses only the resolved files and warns about any misses.
dkr unpause nextcloudBehavior: Locates the nextcloud project, runs docker compose unpause, and prints the resulting docker compose ps table just for nextcloud.
dkr unpause radarr sonarr lidarrBehavior: Processes each app sequentially. It will unpause radarr and show its status, then move to sonarr, and finally lidarr. If sonarr is stopped and fails to unpause, DAM will print an error for it but will continue and successfully unpause lidarr.
dkr unpause allBehavior: Discovers every single valid app across your SEARCH_DIRS. It attempts to unpause every project one by one.
Note: Since it targets all apps, any apps that are fully stopped will trigger an expected warning/error from Docker Compose ("no containers to unpause"). This is normal and safe.
dkr unpause all except plex jellyfinBehavior: Unpauses every discovered app except plex and jellyfin (which will remain in their current state, whether paused, running, or stopped).
-
Scope: Compose project level (targets all services defined in the app's
compose.yaml). - Memory/State: Preserved entirely. Processes resume using the exact RAM footprint and state they had when they were paused.
- Network: Connections that timed out during the pause duration will naturally be dropped by the client, but the container's internal network state remains untouched.