mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Do Debian installation verification with hello-world image.
The hello-world image is recommended as a verification image and it is smaller than Ubuntu. Signed-off-by: Matt McCormick <matt.mccormick@kitware.com>
This commit is contained in:
parent
6cba3109c2
commit
b6cfe7ca07
1 changed files with 3 additions and 2 deletions
|
@ -28,9 +28,10 @@ To install the latest Debian package (may not be the latest Docker release):
|
||||||
|
|
||||||
To verify that everything has worked as expected:
|
To verify that everything has worked as expected:
|
||||||
|
|
||||||
$ sudo docker run -i -t ubuntu /bin/bash
|
$ sudo docker run --rm hello-world
|
||||||
|
|
||||||
Which should download the `ubuntu` image, and then start `bash` in a container.
|
This command downloads and runs the `hello-world` image in a container. When the
|
||||||
|
container runs, it prints an informational message. Then, it exits.
|
||||||
|
|
||||||
> **Note**:
|
> **Note**:
|
||||||
> If you want to enable memory and swap accounting see
|
> If you want to enable memory and swap accounting see
|
||||||
|
|
Loading…
Reference in a new issue