If you want to push your images stored on a public repo to your app server.
The current best solution is to use Docker machine to point to the VPS server and rebuild it
Prerequisites:
docker installed on local and destination server
openssh-server installed
Pull the docker image and verify:
docker pull image:version
docker images
Save the compressed docker image on your local device:
docker save -o image:version.tar image:version
Rename the compressed image to enable ssh copy:
mv image:version.tar image_version.tar
SSH copy the image to destination server:
scp -C image_version.tar username@<IP address>:/path/to/destination
SSH into destination server:
ssh username@<IP address>
Load the copied image on the destination server:
docker load -i image_version.tar