On the lab Nodegrid, save the image file (as a .tar)
- docker save -o ansible-svr-demo.tar ansible-svr
- docker save -o ansible-client-demo.tar ansible-client
from the laptop, scp the .tar files on the Nodegrid to your local drive
scp root@<nodegrid_ip>:\<path>/filename .
- $ scp root@192.168.2.230:ansible-svr-demo.tar .
ansible-svr-demo.tar 100% 482MB 2.1MB/s 03:52
$ scp root@192.168.2.230:ansible-client-demo.tar .
ansible-client-demo.tar 100% 432MB 2.1MB/s 03:22
$
Copy the tarballs to a host system (in this case, an NSR)
- $ scp ansible-*-demo.tar root@192.168.2.101:
- The authenticity of host '192.168.2.101 (192.168.2.101)' can't be established.
- ECDSA key fingerprint is SHA256:nmjFYOhNs+ep2+MeRzt6ueltMbR5JCX+SQ6gcjVVY+A.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '192.168.2.101' (ECDSA) to the list of known hosts.
- Password:
On the new host, re-load the images into Docker
- sudo docker load -i <path to copied image file>.tar