diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php index e9838740..493a95f0 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -456,7 +456,10 @@ class DockerActionManager ] ); } catch (RequestException $e) { - throw $e; + // 403 is undocumented and gets thrown if a specific container is already part of a network + if ($e->getCode() !== 403) { + throw $e; + } } }