Skip to content

Add support for new docker-compose #17

@kionez

Description

@kionez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions