Skip to content

Commit e3a489e

Browse files
committed
podman migration and fixes
1 parent dcac7f6 commit e3a489e

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

documentation/modules/ROOT/pages/skopeo.adoc

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,27 @@ Let's copy a container from a remote registry to a local registry (the one runni
163163

164164
Having a Docker Host running in local machine, run the following command:
165165

166+
[tabs]
167+
====
168+
Docker::
169+
+
170+
--
166171
[.console-input]
167172
[source,bash,subs="+macros,+attributes"]
168173
----
169174
skopeo copy docker://quay.io/rhdevelopers/quarkus-demo:v1 docker-daemon:docker.io/rhdevelopers/quarkus-demo:skopeo
170175
----
176+
--
177+
Podman::
178+
+
179+
--
180+
[.console-input]
181+
[source,bash,subs="+macros,+attributes"]
182+
----
183+
skopeo copy docker://quay.io/rhdevelopers/quarkus-demo:v1 containers-storage:rhdevelopers/quarkus-demo:skopeo
184+
----
185+
--
186+
====
171187

172188
[.console-output]
173189
[source,bash,subs="+macros,+attributes"]
@@ -189,7 +205,7 @@ If you run the `podman images` command, you'll see the image downloaded with the
189205
[.console-input]
190206
[source,bash,subs="+macros,+attributes"]
191207
----
192-
docker images
208+
podman images
193209
----
194210

195211
[.console-output]
@@ -208,7 +224,7 @@ Run the following command in a terminal window:
208224
[.console-input]
209225
[source,bash,subs="+macros,+attributes"]
210226
----
211-
podman run --rm -ti -p 5000:5000 --restart=always --name registry registry:2
227+
podman run --rm -ti -p 5000:5000 --name registry registry:2
212228
----
213229

214230
In a new terminal window, run the `copy` command setting origin to quay.io and the destination, the registry created in the previous step:
@@ -244,7 +260,7 @@ time="2023-04-12T13:29:37.927391556Z" level=info msg="response completed" go.ver
244260
172.17.0.1 - - [12/Apr/2023:13:29:37 +0000] "PUT /v2/rhdevelopers/quarkus-demo/manifests/skopeo HTTP/1.1" 201 0 "" "skopeo/1.11.1"
245261
----
246262

247-
Shut down the container registry by stopping the `docker run` process.
263+
Shut down the container registry by stopping the `podman run` process.
248264

249265
== Deleting a Container
250266

0 commit comments

Comments
 (0)