An administration tool assigned to a debug profile can look separate from the normal stack. Yet explicitly targeting a service can start it without manually enabling its profile. That distinction matters when Compose commands are automated.

The Docker documentation, checked November 15, 2026, distinguishes unprofiled services, activated profiles and explicit targets. Profiles are a selection mechanism, not a feature newly announced this week.

Define the minimum stack

Start with the components needed for ordinary operation. Services without profiles participate by default; occasional tools can be separated by use.

For each optional tool, record its purpose, users and accessible data. “Debug” describes neither account permissions nor port exposure.

Avoid accumulating profiles whose differences nobody can explain. A readable selection is more useful than combinations the team cannot test.

Review actual commands

Compose supports profile activation through options or an environment variable. Directly naming a service can also start it and its declared dependencies without automatically starting every other service in the same profile.

Our recommendation is to review local scripts and CI alongside configuration. The executed command is part of the behaviour.

Use the inspection facilities of your installed Compose version for a review without startup. Do not run a launch command on a sensitive server merely to discover its effect.

Write down which services should be selected. That gives the reviewer something concrete to compare rather than a vague expectation of a smaller stack.

Separate selection from access control

Treat selection, networking and permissions independently. An optional tool should not automatically inherit every production component's access.

Review published ports and mounted volumes. Infrequent use does not make accessible data less important when the tool starts.

Record the intended lifetime too: the intervention, completion and a check of the final state.

Keep the procedure reproducible

Save a short procedure with Compose version, intended context and expected outcome. A colleague repeating an intervention should obtain the same service selection.

This complements our Compose secrets article. A profile helps choose what to start; it does not replace access protection or control of exposed services.

Visual: generated editorial illustration, not an official screenshot.