14 lines
473 B
PHP
14 lines
473 B
PHP
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
use RuntimeException;
|
|
|
|
/**
|
|
* Thrown by DockerService::containers() when the `docker` binary is absent on the target (a native
|
|
* server with no container runtime), as opposed to a daemon-down / permission fault. Detecting this
|
|
* from the single `docker ps` call lets the pages render the honest "not installed" state WITHOUT a
|
|
* second SSH round-trip just to probe availability.
|
|
*/
|
|
class DockerNotInstalled extends RuntimeException {}
|