Skip to content

Commit 5c60ddf

Browse files
committed
docs/ci: Simplify container commands
Just use podman, with the first with '# or docker, ...' comment, it should be enough for most users. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
1 parent 7dfa1e1 commit 5c60ddf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/ci.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ To build the container image, use your favorite container engine from the
302302
$git branch
303303
* ci
304304
main
305-
$alias container=podman # or docker, ...
306-
$container build --tag adi/linux:latest container
305+
# or docker, ...
306+
$podman build --tag adi/linux:latest container
307307

308308
You may want to build the container in a host, where you have all your tools installed,
309309
and then deploy to a server.
@@ -315,7 +315,7 @@ In this case, export the image and then import on the server:
315315
:group: host
316316

317317
~/linux
318-
$container save -o adi-linux.tar adi/linux:latest
318+
$podman save -o adi-linux.tar adi/linux:latest
319319
$scp adi-linux.tar server:/tmp/
320320

321321
.. shell::
@@ -324,7 +324,7 @@ In this case, export the image and then import on the server:
324324
:group: server
325325

326326
/tmp
327-
$container load -i adi-linux.tar
327+
$podman load -i adi-linux.tar
328328

329329
Or if you are feeling adventurous:
330330

@@ -334,7 +334,7 @@ Or if you are feeling adventurous:
334334
:group: host
335335

336336
~/linux
337-
$container save adi/linux:latest | ssh server "cat - | podman load"
337+
$podman save adi/linux:latest | ssh server "cat - | podman load"
338338

339339
.. _interactive-run:
340340

0 commit comments

Comments
 (0)