[wp-trac] [WordPress Trac] #62395: Prevent orphaned conatiners in local Docker environment
WordPress Trac
noreply at wordpress.org
Tue Nov 12 17:44:54 UTC 2024
#62395: Prevent orphaned conatiners in local Docker environment
------------------------------+----------------------
Reporter: desrosj | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+----------------------
Changes (by desrosj):
* owner: (none) => desrosj
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"59393" 59393]:
{{{
#!CommitTicketReference repository="" revision="59393"
Build/Test Tools: Prevent orphaned Docker containers.
This updates certain local Docker environment commands to include `--rm`,
which instructs `docker compose` to remove the container after running the
specified scripts.
Previously only the installation script contained `--rm`. But running
`test:php`, `env:start`, or `env:cli` resulted in the container remaining.
Props johnbillion.
Fixes #62395.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62395#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list