Closed dcasota closed 5 months ago
Thanks for the report. I think this should be fixed in the Photon docker
packages though. Photon should have a docker
sub package that provides the docker
buildx
plugin.
Can you file an issue at https://github.com/vmware/photon ?
I noticed this myself a while ago, but forgot.
This is how I fixed it: download the plugin from https://github.com/docker/buildx and move to /usr/lib/docker/cli-plugins/docker-buildx
. Also do chmod ugo+x on it.
Is your feature request related to a problem? Please describe.
Please consider docker-buildx instead of docker only. create-image-utils fails with on x86_64 Photon OS 5.0 with docker 24.05 because of an known issue "unknown flag: --build-context".
Describe the solution you'd like
docker-buildx
is required.tdnf install docker-buildx
or separate download to/usr/bin
from https://github.com/docker/buildx/releases../create-image-util
uses in line 55 and 57sudo docker-buildx build --build-context ...
Describe alternatives you've considered
No response
Additional context
No response