Save. Load and Transfer Docker Image

@Inderpreet

Will you check why the task failed? below clearly shown the image was saved and load to from app1 to app3, and docker is running

Task Status - Failed

docker service is not running on Application Server 3

[root@stapp03 banner]# docker load -i /tmp/news.tar
e1c75a5e0bfa: Loading layer 75.22MB/75.22MB
9e97312b63ff: Loading layer 1.011MB/1.011MB
ec1817c93e7c: Loading layer 15.36kB/15.36kB
05f3b67ed530: Loading layer 3.072kB/3.072kB
8ae78e405d3b: Loading layer 22.04MB/22.04MB
Loaded image: news:datacenter
[root@stapp03 banner]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
news datacenter 330e005d2cf3 6 minutes ago 95.9MB

[root@stapp03 banner]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUSPORTS NAMES
ccb07293d88a news:datacenter “bash” 19 seconds ago Up 17 seconds test
[root@stapp03 banner]#

@Tej-Singh-Rana @Jenna
I created a archieve file for docker image. But while copying that tar file to stapp03, getting the error Permission denied, please try again.

Hello, @pratikshag

scp -rp -i /root/.ssh/server media.tar stapp03:/home

@player001.Tried what you suggest. Getting error again. Please help

Do you know root password of stapp03 ?

No, I was entering normal password for stapp03.

Then try

scp -rp blog.tar  banner@stapp03:/home/

If still you face the permission issue. Then change the location of the directory.
/home/banner/

Thank you so much. It worked without passing “-i /root/.ssh/server” .