-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4.z
-
podman-4.9.3-1.el9_4
-
None
-
None
-
1
-
rhel-sst-container-tools
-
3
-
False
-
-
None
-
RUN 252
-
Pass
-
None
-
None
What were you trying to do that didn't work?
I am trying to copy image from one VM to another. Both my VM's are in the same network
Following the article below
https://www.redhat.com/sysadmin/podman-transfer-container-images-without-registry
trying the option from the above URL.
Or copy an image from one machine to another with this command:
$ podman image scp me@192.168.68.122::IMAGE you@192.168.68.128::
[root@rhel8 ~]# podman version
Client: Podman Engine
Version: 4.4.1
API Version: 4.4.1
Go Version: go1.19.6
Built: Thu Jun 15 20:09:56 2023
OS/Arch: linux/amd64
How reproducible:
Steps to reproduce
[root@rhel8 ~]# podman image scp root@192.168.122.169::docker.io/library/alpine:latest root@192.168.122.193::
WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location
WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location
Error: strconv.Atoi: parsing "": invalid syntax
Then tried another way
[root@rhel8 ~]# podman image scp root@rhel8.8.example.com::alpine:latest sachisha@rhel8.8.example.com::
WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location
WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location
Error: strconv.Atoi: parsing "": invalid syntax
Expected results
expecting the image to be copied from one vm to other one
Actual results
Getting error as mentioned above in reproducer.
Regards
Sachin
- clones
-
RHEL-28628 RHEL 8.10 0day - Unable to copy image from one virtual machine to another using "podman image scp"
- Closed
- links to
-
RHBA-2024:128880 podman bug fix and enhancement update