FS#77837 - [docker] The -q flag no longer works since upgrade with a customised psFormat
Attached to Project:
Community Packages
Opened by Michel Albert (exhuma) - Monday, 13 March 2023, 06:10 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 06:45 GMT
Opened by Michel Albert (exhuma) - Monday, 13 March 2023, 06:10 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 06:45 GMT
|
Details
Description:
When the config file contains the following the `ps -q` format stops working (it worked before an upgrade): ``` { "psFormat": "table {{.Image}}\t{{.Status}}\t{{.Names}}\t{{.Ports}}" } ``` Expected outcome: Running `docker ps -q` should only list the container IDs of running containers. Observed outcome: Running `docker ps -q` show the exact same output as running `docker ps` (without -q`). It includes the header and additional columns. It does not show the docker-id. Additional info: * package version: docker 1:23.0.1-1 * config and/or log files etc. |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 23 May 2023, 06:45 GMT
Reason for closing: Fixed
Additional comments about closing: docker 1:24.0.0-1
Tuesday, 23 May 2023, 06:45 GMT
Reason for closing: Fixed
Additional comments about closing: docker 1:24.0.0-1
It's clearly an upstream issue...which means PM's might just close this ticket while waiting for upstream to fix it.