[wp-trac] [WordPress Trac] #62395: Prevent orphaned conatiners in local Docker environment

WordPress Trac noreply at wordpress.org
Tue Nov 12 16:56:33 UTC 2024


#62395: Prevent orphaned conatiners in local Docker environment
------------------------------+--------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  6.8
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+--------------------
 As currently configured, running some local Docker environment commands
 results in orphaned containers.

 For example, running the following commands results in 3 orphaned
 containers:
 - `env:start`
 - `env:install`
 - `env:cli plugin list`
 - `test:php`

 This can be fixed by includeing `--rm` in the `docker compose` commands,
 telling Docker to clean up after itself.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62395>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list