Skip to content

Conversation

@lionelnicolas
Copy link

- What I did

My vscode was failing to start/create devcontainers after I upgrade docker-ce from 20.10 to 23.0. I realized that table headers were shown in the logs when vscode was running docker ps -q -a --filter label=vsch.local.folder=........ Manually running docker ps -aq confirmed the issue (the full formatted container list was shown).

- How I did it

As I have a custom psFormat in my ~/.docker/config.json, I removed it and after that docker ps -aq behaved correctly.

- How to verify it

For example, add "psFormat": "table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}\t{{.Names}}" to your ~/.docker/config.json and try to run docker ps -aq.

- Description for the changelog

Fix --quiet flag being ignored when a custom psFormat is set in the config file

- A picture of a cute animal (not mandatory but encouraged)

image

When a custom `psFormat` is set in the config file, the `--quiet` flag was
ignored.

Signed-off-by: Lionel Nicolas <lionel.nicolas@nividic.org>
@thaJeztah
Copy link
Member

Looks like this is doing (roughly) the same as #3666 😅

@lionelnicolas
Copy link
Author

@thaJeztah Oh yeah sorry haha, I haven't seen this other PR. Any reason why it have not been merged yet ?

@lionelnicolas
Copy link
Author

I can close my PR if you have plans to merge #3666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants