[wp-trac] [WordPress Trac] #51898: Docker Env: Check that Docker is running before use

WordPress Trac noreply at wordpress.org
Tue Mar 7 09:01:56 UTC 2023


#51898: Docker Env: Check that Docker is running before use
---------------------------------------------+-----------------------------
 Reporter:  cnspecialcolor                   |       Owner:  SergeyBiryukov
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  low                              |   Milestone:  6.2
Component:  Build/Test Tools                 |     Version:
 Severity:  minor                            |  Resolution:
 Keywords:  good-first-bug has-patch commit  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 It looks like the output already includes this message on Unix-type
 systems, even without the patch:
 {{{
 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the
 docker daemon running?
 }}}
 But not on Windows, where the message is less clear:
 {{{
 'docker-compose' is not recognized as an internal or external command,
 operable program or batch file.
 }}}

 So the patch should result in a more consistent experience regardless of
 the platform.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51898#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list