Skip to content

Instantly share code, notes, and snippets.

View pouyanh's full-sized avatar
🕊️
Woman Life Freedom

Pouyan Heyratpour pouyanh

🕊️
Woman Life Freedom
View GitHub Profile
@pouyanh
pouyanh / dimg-over-ssh.md
Last active July 13, 2024 16:30
Docker image transfer over SSH

Sometimes you want to transfer docker images between two linux hosts over SSH. Supposing images are gonna be transferred to 2nd host, There are two options to do that:

  1. Push image to the 2nd host
  2. Pull image from the 1st host

Push to the 2nd host

Here are the Steps:

Save Image {> Compress} > SSH to 2nd Host ({> Decompress} > Load Image)

Keybase proof

I hereby claim:

  • I am pouyanh on github.
  • I am pouyan (https://keybase.io/pouyan) on keybase.
  • I have a public key whose fingerprint is 415A 0644 A3B9 7365 B2E0 C0F9 242B 9387 1A6D 3E9B

To claim this, I am signing this object: