Photon should have a docker sub package that provides the docker buildx plugin
Is your feature request related to a problem? Please describe.
photon os installer' create-image-util fails with docker 24.05 because of an known issue "unknown flag: --build-context".
Describe the solution you'd like
tdnf install docker-buildx
Describe alternatives you've considered
No response
Additional context
see https://github.com/vmware/photon-os-installer/issues/26
Thanks for reporting. I created an internal issue for this.
no hurry. Facing the amount of cve which have been released for moby 24.x, 25.x and related to buildkit, testing across boundaries is crucial. 0.13.1 with 24.05 works. Facing the 24.05-26.0 releasenotes so far, escaping containers is a big issue. Good luck.
See https://github.com/vmware/photon/commit/74cb2c22655d7d88d4f2191c7d029d1b354aa5cf
Hi @sshedi, please could you double check the bits? Actually there seems a file checksum issue. Thank you for your help.
docker-buildx on Ph5 x86_64 works perfectly. Many thanks! Please, push it to Ph4.0 as well.
@sshedi ^
Please with this command and give your observations: sudo tdnf install --refresh -y docker-buildx
Probably your repodata is not in sync with server, hence the failure.
Yes, but unfortunately there is no docker-buildx package on the on the open-source 4.0 branch in comparison to the 5.0 branch. Maybe there is a reason on this? I don't know.
In my test lab, a newly compiled 4.0 ISO confirms the situation.
Low priority. I will recheck in a few weeks again.
docker-buildx on Ph5 x86_64 works perfectly. Many thanks! Please, push it to Ph4.0 as well.
Sorry, I missed this message. I will add it.
works
fyi tested on
- Ph4 x86_64: 0.17.1-1
- Ph5 x86_64 + aarch64: 0.17.1-3