There is no functionality in Compose to save images created in the Compose file, this is the work of the docker client (as you indicated with docker save and docker load ). Fortunately, this is simple with bash:
images=(web cache db) for image in images do docker save ${image} > ${image}.tar scp ${image}.tar $yourhost: ssh $yourhost docker load ${image}.tar done
The remote registry option is perhaps the more “production class." Moving a bunch of images around is likely to be pretty slow, but YMMV.
Ben whaley
source share