-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"docker buildx ls --format json" lists each entry twice #2969
Comments
This is expected, output is in JSON Lines format similar to other docker commands like |
Ok, that explains array-vs-json-lines; I edited this ticket to just be about the duplicate entries issue. |
...also, maybe the https://github.com/docker/buildx/blob/master/docs/reference/buildx_ls.md page should mention the output is in JSON Lines format format. |
Hum yeah you should not have duplicated entries, let me check this. |
Contributing guidelines
I've found a bug and checked that ...
Description
docker buildx ls --format json
lists each entry twice whereasdocker buildx ls
works properlyExpected behaviour
The count of builders listed when running
"docker buildx ls"
(table format, default) vs."docker buildx ls --format json"
should be the same. For example, running"docker buildx ls"
, I get:...then when running,
"docker buildx ls --format json"
, I should see the same two builders in JSON-line format (each entry truncated with ellipsis for brevity):Actual behaviour
...instead, I see the entries are doubled (each entry truncated with ellipsis for brevity):
The full output result of
docker buildx ls --format json
is attached:buildx_ls_out.json
Buildx version
github.com/docker/buildx v0.19.2-desktop.1 412cbb151f1be3f8a94dc4eb03cd1b67f261dec5
Docker info
Builders list
Configuration
mininal_dockerfile.txt
:FROM scratch
Build logs
Additional info
I searched if this was already reported, but didn't find anything, or I didn't search properly.
The text was updated successfully, but these errors were encountered: