Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

documents load image #640

Merged
merged 1 commit into from
Mar 5, 2018
Merged

documents load image #640

merged 1 commit into from
Mar 5, 2018

Conversation

mikebrow
Copy link
Member

@mikebrow mikebrow commented Mar 5, 2018

Address issue #638 by showing detailed steps for creating and loading images.

Signed-off-by: Mike Brown [email protected]

docs/crictl.md Outdated
@@ -30,12 +30,45 @@ debug: true
```

## Download and Inspect a Container Image
The pull command tells the container runtime to load a container image from a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/load/download?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

docs/crictl.md Outdated
## Directly Load a Container Image
Another way to load an image into the container runtime is with the load
command. With the load command you inject a container image into the container
runtime from a file. First you need to create the container image. For example
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

container image tarball
or
container image file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not changed? :P

docs/crictl.md Outdated
Another way to load an image into the container runtime is with the load
command. With the load command you inject a container image into the container
runtime from a file. First you need to create the container image. For example
to create a pause container using Docker:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image tarball
or
image file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not changed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refreshing..

docs/crictl.md Outdated
67ddbfb20a22: Pull complete
Digest: sha256:59eec8837a4d942cc19a52b8c09ea75121acc38114a2c68b98983ce9356b8610
Status: Downloaded newer image for k8s.gcr.io/pause-amd64:3.1
$ docker save k8s.gcr.io/pause-amd64:3.1 > pause.tar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: -o

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah works both ways.. docker documents it both ways..

done

@Random-Liu Random-Liu self-assigned this Mar 5, 2018
Signed-off-by: Mike Brown <[email protected]>
@Random-Liu
Copy link
Member

/lgtm

@Random-Liu Random-Liu merged commit 9a097c9 into containerd:master Mar 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants