log if not pulling the latest database image

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-03-14 17:11:36 +01:00
parent 20bf2cfa7e
commit ae349b8afb

View file

@ -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);