I am playing around with Docker buildx to build some images for linux/arm/v7. However, I would like to do it programmatically. I know that there is an HTTP api to interact with the Docker daemon for standard functions, however the Docker docs do not show any information about the Docker buildx api.
For example, I would like to run "docker buildx build --platform linux/arm/v7 -t foo/bar:latest ." programmatically.
Has anyone tried it?