You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
compose down doesn't support named containers (or custom named containers) #38
If you use container_name: with a custom name in your compose file, compose up properly handles that, but compose down does not, and defaults to its internal naming, will fail to stop the container, and will not throw an error, because it eats the error.
I'm seeing waitUntilServiceIsRunning throw a "Timed out waiting for container" when running up and a custom container name is specified. The method, and two others, reconstructs the container name from projectName and serviceName. It does not respect the configured container name.
Also, the "Parameters" description in the function's comments is not accurate.
Custom names are now included in the shared container resolution, and the earlier startup and shutdown fixes should address this report. Can you try the original example against the current version if you're still using this setup? Interpolated container names are separate work in #102.
Custom container_name values are now used by shared container resolution and by down, with a dynamic regression covering custom-name shutdown. Variable expansion in container names also landed in #179. Closing the naming issue as resolved; broader teardown and error-handling improvements remain separate work in #192.
Activity
fix: handle custom container_name in compose down
malclear commentedon Feb 6, 2026
I'm seeing
waitUntilServiceIsRunningthrow a "Timed out waiting for container" when runningupand a custom container name is specified. The method, and two others, reconstructs the container name fromprojectNameandserviceName. It does not respect the configured container name.Also, the "Parameters" description in the function's comments is not accurate.
Mcrich23 commentedon Feb 6, 2026
Thank you @malclear. I'm not at my computer at the moment. Could you please send the description for the parameters function?
Happy to take a look and get that fixed!
fix(up): respect container_name in status and IP lookups
fix(up): add Service.containerName helper for explicit container_name
Mcrich23 commentedon Sep 9, 2026
Custom names are now included in the shared container resolution, and the earlier startup and shutdown fixes should address this report. Can you try the original example against the current version if you're still using this setup? Interpolated container names are separate work in #102.
Mcrich23 commentedon Nov 25, 2026
Custom
container_namevalues are now used by shared container resolution and bydown, with a dynamic regression covering custom-name shutdown. Variable expansion in container names also landed in #179. Closing the naming issue as resolved; broader teardown and error-handling improvements remain separate work in #192.