Fix typo and ordered list

This commit is contained in:
craig-osterhout 2022-08-23 15:25:20 -07:00
parent cb1acd8431
commit d1479e65f6
No known key found for this signature in database
GPG Key ID: 497A5E49261C73B5
1 changed files with 30 additions and 28 deletions

View File

@ -134,6 +134,7 @@ You'll need to download Docker Desktop to build, push, and pull container image
### Step 4: Pull and run a container image from Docker Hub
1. Run `docker pull hello-world` to pull the image from Docker Hub. You should see output similar to:
```console
$ docker pull hello-world
Using default tag: latest
@ -143,21 +144,22 @@ Digest: sha256:7d246653d0511db2a6b2e0436cfd0e52ac8c066000264b3ce63331ac66dca625
Status: Downloaded newer image for hello-world:latest
docker.io/library/hello-world:latest
```
2. Run `docker run hellow-world` to run the image locally. You should see output similar to:
```console
$ docker run hellow-world
$ docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
4. The Docker daemon streamed that output to the Docker client, which sent
it to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash