Skip to content
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

inspect: do not display platforms field if empty #2068

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

crazy-max
Copy link
Member

Before:

$ docker buildx inspect builder
Name:          builder
Driver:        docker-container
Last Activity: 2023-09-12 20:09:21 +0000 UTC

Nodes:
Name:           builder0
Endpoint:       unix:///var/run/docker.sock
Driver Options: env.BUILDKIT_STEP_LOG_MAX_SIZE="10485760" env.BUILDKIT_STEP_LOG_MAX_SPEED="10485760" env.JAEGER_TRACE="localhost:6831" image="moby/buildkit:master" network="host"
Status:         stopped
Flags:          --debug --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
Platforms:

Now:

$ docker buildx inspect builder
Name:          builder
Driver:        docker-container
Last Activity: 2023-09-12 20:09:21 +0000 UTC

Nodes:
Name:           builder0
Endpoint:       unix:///var/run/docker.sock
Driver Options: image="moby/buildkit:master" network="host" env.BUILDKIT_STEP_LOG_MAX_SIZE="10485760" env.BUILDKIT_STEP_LOG_MAX_SPEED="10485760" env.JAEGER_TRACE="localhost:6831"
Status:         stopped
Flags:          --debug --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host

@jedevc jedevc merged commit 2c2294f into docker:master Sep 30, 2023
59 checks passed
@crazy-max crazy-max deleted the inspect-fix-platforms branch September 30, 2023 10:40
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