#Go SDK Publish Image to Docker Desktop
1 messages · Page 1 of 1 (latest)
@patent jacinth you could try exporting exporting the image as tar file and then importing it in docker desktop
thx!
Yes, indeed
- use
container.Export("path/to/image.tar") docker load -i path/to/image.tar
You could execute the docker load programmatically in Go if you want to automate that
Once we support mounting unix socket in a container, you could presumably do this straight from your pipeline, by running the docker client in a container?
Interesting - when I try exporting this way I end up with this error
Failed to export image. input:1: container.build failed to fetch oauth token:
even stranger... seems to have now disappeared