plasma-docker icon indicating copy to clipboard operation
plasma-docker copied to clipboard

Add support for new docker-compose

Open kionez opened this issue 2 years ago • 0 comments

I have not found the exact version since when this behaviour started, but in the latest releases of docker-compose the command ps --services no longer returns all services, it is necessary to add --all to the command, e.g. with the patch:

--- plasma-docker-2.2.0.orig/process/process.cpp        2020-03-06 23:07:42.000000000 +0100
+++ plasma-docker-2.2.0/process/process.cpp     2023-01-02 10:56:54.637723966 +0100
@@ -55,7 +55,7 @@
 
 QStringList Process::getServices(const QString &file) {
     QStringList arguments;
-    arguments << "ps" << "--services";
+    arguments << "ps" << "--services" << "--all";
     runDockerCompose(file, arguments);
     waitForFinished();
     QString composeOutput(readAllStandardOutput());

kionez avatar Jan 02 '23 10:01 kionez