Docker Desktop for Mac: support opening dockerbuild files
Tell us about your request
I download a .dockerbuild file (exported with docker buildx history export) from my build server. I want to open it in Docker Desktop. In Docker Desktop, if I go to Builds screen and click "Import" button, I can import it and view it.
But Docker Desktop for Mac doesn't accept a .dockerbuild file passed to it by macOS. So if I do:
open -a /Applications/Docker.app ~/Downloads/v6o73dop3ok41785rkjs3wmdz.dockerbuild
I get a popup error from macOS saying:
The document "v6o73dop3ok41785rkjs3wmdz.dockerbuild" could not be opened. Docker cannot open files of this type.
And what I'd really like to do is associate .dockerbuild files with /Applications/Docker.app so if I download one in my web browser it will automatically open in Docker Desktop... but if I can't get open -a /Applications/Docker.app to open them, well I can' t do that either
Which service(s) is this request for? Docker Desktop for Mac version 4.45.0
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I want to open a .dockerbuild file downloaded by my web browser in Docker Desktop.
The fact that Docker Desktop won't open them when passed as a
Are you currently working around the issue?
docker buildx history import -f ~/Downloads/v6o73dop3ok41785rkjs3wmdz.dockerbuild
Opens the file in Docker Desktop... so that achieves what I want... but I can't have my browser automatically trigger that because that's not supported by the macOS file associations system, having /Applications/Docker.app support it would...
Maybe if I create a script which runs that command on the file, and then create a macOS file association for it, that might solve my issue... but I shouldn't have to write custom scripts to make this work, ideally it should just work out of the box...
Additional context My use case is I export the dockerbuild file from the CI job on our build server, and then I want to download it locally and look at it using the Docker Desktop UI... the ultimate goal is to try to get a better understanding of how Docker builds contribute to our CI job performance
I have a Docker Desktop for Business subscription, if that helps... not sure if there is a separate path for feature request submission from paying customers, or if this place is for that too?