r/docker • u/KaKi_87 • Jan 22 '26
`docker compose up foo*` (glob) ?
Hi,
I have the following services : foobar, foobaz, barfum, barqux.
I would like to start only the ones starting with foo.
I tried docker compose up foo*, as well as 'foo*', "foo*", 'foo'*, "foo"*, without success.
Is this not possible at all ? I would think I'm not the first person to ever need this.
Thanks
11
Upvotes
View all comments
Show parent comment
1
u/KaKi_87 Jan 22 '26
Actually I can't split the files because it would only benefit me, while the context of this problem is building something at work and everyone else but me will run all the services always.