From ae349b8afb9adf6bd06038b697619e65381233bf Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 14 Mar 2022 17:11:36 +0100 Subject: [PATCH] log if not pulling the latest database image Signed-off-by: szaimen --- php/src/Controller/DockerController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php/src/Controller/DockerController.php b/php/src/Controller/DockerController.php index a6df1853..c22dd0d8 100644 --- a/php/src/Controller/DockerController.php +++ b/php/src/Controller/DockerController.php @@ -43,6 +43,8 @@ class DockerController $this->dockerActionManager->CreateVolumes($container); if ($pullcontainer) { $this->dockerActionManager->PullContainer($container); + } else { + error_log('Not pulling the latest database image because the container was not correctly shut down.'); } $this->dockerActionManager->CreateContainer($container); $this->dockerActionManager->StartContainer($container);