public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] doc: Fix and simplify container image loading description
@ 2021-05-09  8:02 Jan Kiszka
  2021-06-08  6:47 ` Anton Mikanovich
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2021-05-09  8:02 UTC (permalink / raw)
  To: isar-users; +Cc: Cirujano-Cuesta, Silvano

From: Jan Kiszka <jan.kiszka@siemens.com>

The manual was incorrectly referencing 'docker import', rather than what
was also used in the example: only 'docker load' works for the generated
images.

And the proposed command line can be simplified by passing the image
directly to 'docker load'.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 doc/user_manual.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/user_manual.md b/doc/user_manual.md
index 2749ef0..2f7df87 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -258,7 +258,7 @@ Container images can be generated in different formats, selected with the
 variable `CONTAINER_FORMAT`. One or more (whitespace separated) of following 
 options can be given:
  - `docker-archive`: (default) an archive containing a Docker image that can 
-   be imported with [`docker import`](https://docs.docker.com/engine/reference/commandline/import/)
+   be imported with [`docker load`](https://docs.docker.com/engine/reference/commandline/load)
  - `docker-daemon`: resulting container image is made available on the local 
    Docker Daemon
  - `containers-storage`: resulting container image is made available to tools 
@@ -300,7 +300,7 @@ bitbake mc:qemuarm-buster:isar-image-base
  - Load the container image into the Docker Daemon
 
 ```
-xzcat build/tmp/deploy/images/qemuarm/debian-buster-armhf-docker-archive.tar.xz | docker load
+docker load -i build/tmp/deploy/images/qemuarm/debian-buster-armhf-docker-archive.tar.xz
 ```
 
  - Run a container using the container image (following commands starting with 
@@ -1019,7 +1019,7 @@ Supported formats are:
    "[Create an ISAR SDK root filesystem](#create-an-isar-sdk-root-filesystem)"
  - `docker-archive`: an archive containing a Docker image that can be imported 
    with 
-   [`docker import`](https://docs.docker.com/engine/reference/commandline/import/)
+   [`docker load`](https://docs.docker.com/engine/reference/commandline/load)
  - `docker-daemon`: resulting container image is made available on the local 
    Docker Daemon
  - `containers-storage`: resulting container image is made available to tools 
@@ -1071,7 +1071,7 @@ bitbake -c do_populate_sdk mc:qemuarm-buster:isar-image-base
  - Load the SDK container image into the Docker Daemon
 
 ```
-xzcat build/tmp/deploy/images/qemuarm/sdk-debian-buster-armhf-docker-archive.tar.xz | docker load
+docker load -i build/tmp/deploy/images/qemuarm/sdk-debian-buster-armhf-docker-archive.tar.xz
 ```
 
  - Run a container using the SDK container image (following commands starting 
-- 
2.26.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: Fix and simplify container image loading description
  2021-05-09  8:02 [PATCH] doc: Fix and simplify container image loading description Jan Kiszka
@ 2021-06-08  6:47 ` Anton Mikanovich
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2021-06-08  6:47 UTC (permalink / raw)
  To: Jan Kiszka, isar-users; +Cc: Cirujano-Cuesta, Silvano

09.05.2021 11:02, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> The manual was incorrectly referencing 'docker import', rather than what
> was also used in the example: only 'docker load' works for the generated
> images.
>
> And the proposed command line can be simplified by passing the image
> directly to 'docker load'.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Applied to next, thanks.

-- 
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-08  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-09  8:02 [PATCH] doc: Fix and simplify container image loading description Jan Kiszka
2021-06-08  6:47 ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox