Save, Load and Transfer Docker Image review

Hy!

On KKE Docker level 3 task 4 name: “Save, Load and Transfer Docker Image” I think i did everything right despite the task always fails for me.

I issued the following commands:

  • SSH to stapp01
  • docker save games:datacenter -o games.tar
  • scp games.tar banner@stapp03:/home/banner
  • agree on ssh key and type password
  • exit back to jumphost
  • SSH to stapp03
  • docker import games.tar games:datacenter

And you can see the results in the image below. The image was transfered (the ID and size got changed somehow), and I check on bot stapp01 and stapp03 the docker service IS RUNNING.

I looked up all the flags for the save and import commands but didn’t find any relevant one. Could you help me find the problem?

Hi @Benceking24

That looks weird.

Try copying the image tarball to /tmp on the app server3, verify that the file is copied, and then load.

I attempted the task, and it was successful.

1 Like

Hy @Santosh_KodeKloud

Thanks for the reply. The problem is that I was using docker import instead of docker load… My bad!

I got it working this time!