▲ | Snawoot 4 days ago | |||||||
How do docker contexts help with the transfer of image between hosts? | ||||||||
▲ | dobremeno 3 days ago | parent [-] | |||||||
I assume OP meant something like this, building the image on the remote host directly using a docker context (which is different from a build context)
This way you end up with `my-image:latest` on the remote host too. It has the advantage of not transferring the entire image but only transferring the build context. It builds the actual image on the remote host. | ||||||||
|