Skip to content

attach _only_ to services declared by project applying profiles#9488

Merged
glours merged 1 commit intodocker:v2from
ndeloof:attach_profiles
May 20, 2022
Merged

attach _only_ to services declared by project applying profiles#9488
glours merged 1 commit intodocker:v2from
ndeloof:attach_profiles

Conversation

@ndeloof
Copy link
Contributor

@ndeloof ndeloof commented May 20, 2022

What I did
ensure we only attach to services defined by project with applied profiles
if we don't, we will attach to all containers created with project label, which might match disabled profiles

Related issue
close #9286

(not mandatory) A picture of a cute animal, if possible in relation with what you did

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof requested review from glours and ulyssessouza May 20, 2022 08:38
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and works as expected with the issue sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Services with profile in yml, always enable when execute command start, stop, restart, up

2 participants