cli: make buildx build the canonical build
Description
Make buildx build the canonical build command
docker build docker build (legacy builder)
Related issues or tickets
- https://github.com/docker/cli/pull/5002
- https://github.com/docker/buildx/pull/2397
Deploy Preview for docsdocker ready!
| Name | Link |
|---|---|
| Latest commit | f7ccee34b0a4b71e4a1306d817f280e74f660516 |
| Latest deploy log | https://app.netlify.com/sites/docsdocker/deploys/6696441bf9372f0008a6194e |
| Deploy Preview | https://deploy-preview-19774--docsdocker.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@thaJeztah @crazy-max I started looking at making buildx build the canonical CLI reference page for docker build, and repurposing the prevous docker [image] build page to cover only the legacy builder.
@thaJeztah @crazy-max I started looking at making
buildx buildthe canonical CLI reference page fordocker build, and repurposing the prevousdocker [image] buildpage to cover only the legacy builder.
Should we also duplicate/copy related reference docs missing in https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md?
Edit: nevermind https://github.com/docker/buildx/pull/2397
I pretty much just moved the flag descriptions for things like --build-arg without touching them. Might need to update some things.
Wondering if we should use docker build or docker buildx build in the examples on the Buildx reference page after this.
Also this diff is showing what's on master for buildx, so not appropriate for merging here, just included to show what it will look like. Will need to backport to 0.13 branch if we want to release before 0.14. Maybe easier to do after that release.
Wondering if we should use
docker buildordocker buildx buildin the examples on the Buildx reference page after this.
I think using canonical docker buildx build would be better in GitHub markdown