@@ -101,35 +101,35 @@ the cp command.
101
101
102
102
## EXAMPLES
103
103
104
- - Copy a file from host to a container.
105
- ```
106
- podman cp /myapp/app.conf containerID:/myapp/app.conf
107
- ```
108
-
109
- - Copy a file from a container to a directory on another container.
110
- ```
111
- podman cp containerID1:/myfile.txt containerID2:/tmp
112
- ```
113
-
114
- - Copy a directory on a container to a directory on the host.
115
- ```
116
- podman cp containerID:/myapp/ /myapp/
117
- ```
118
-
119
- - Copy the contents of a directory on a container to a directory on the host.
120
- ```
121
- podman cp containerID:/home/myuser/. /home/myuser/
122
- ```
123
-
124
- - Copy a directory on a container into a directory on another.
125
- ```
126
- podman cp containerA:/myapp containerB:/newapp
127
- ```
128
-
129
- - Stream a tar archive from ` STDIN ` to a container.
130
- ```
131
- podman cp - containerID:/myfiles.tar.gz < myfiles.tar.gz
132
- ```
104
+ Copy a file from the host to a container:
105
+ ```
106
+ podman cp /myapp/app.conf containerID:/myapp/app.conf
107
+ ```
108
+
109
+ Copy a file from a container to a directory on another container:
110
+ ```
111
+ podman cp containerID1:/myfile.txt containerID2:/tmp
112
+ ```
113
+
114
+ Copy a directory on a container to a directory on the host:
115
+ ```
116
+ podman cp containerID:/myapp/ /myapp/
117
+ ```
118
+
119
+ Copy the contents of a directory on a container to a directory on the host:
120
+ ```
121
+ podman cp containerID:/home/myuser/. /home/myuser/
122
+ ```
123
+
124
+ Copy a directory on a container into a directory on another:
125
+ ```
126
+ podman cp containerA:/myapp containerB:/newapp
127
+ ```
128
+
129
+ Stream a tar archive from ` STDIN ` to a container:
130
+ ```
131
+ podman cp - containerID:/myfiles.tar.gz < myfiles.tar.gz
132
+ ```
133
133
134
134
## SEE ALSO
135
135
** [ podman(1)] ( podman.1.md ) ** , ** [ podman-mount(1)] ( podman-mount.1.md ) ** , ** [ podman-unmount(1)] ( podman-unmount.1.md ) **
0 commit comments