You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: security/trust/README.md
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,10 @@ You will need all of the following to complete this lab:
24
24
25
25
# <aname="tag"></a>Step 1: Pulling images by tag
26
26
27
-
The most common and basic way to pull Docker iamges is by `tag`. The is where you specify an image name followed by an alphanumeric tag. The image name and tag are separated by a colon `:`. For example:
27
+
The most common and basic way to pull Docker images is by `tag`. The is where you specify an image name followed by an alphanumeric tag. The image name and tag are separated by a colon `:`. For example:
28
28
29
29
```
30
-
$ sudo docker pull alpine:edge
30
+
$ docker pull alpine:edge
31
31
```
32
32
33
33
This command will pull the Alpine image tagged as `edge`. The corresponding image can be found [here on Docker Store](https://store.docker.com/images/alpine).
@@ -37,7 +37,7 @@ If no tag is specified, Docker will pull the image with the `latest` tag.
37
37
1. Pull the Alpine image with the `edge` tag.
38
38
39
39
```
40
-
$ sudo docker pull alpine:edge
40
+
$ docker pull alpine:edge
41
41
42
42
edge: Pulling from library/alpine
43
43
e587fa4f6e1f: Pull complete
@@ -48,7 +48,7 @@ If no tag is specified, Docker will pull the image with the `latest` tag.
48
48
2. Confirm that the pull was successful.
49
49
50
50
```
51
-
$ sudo docker images
51
+
$ docker images
52
52
53
53
REPOSITORY TAG IMAGE ID CREATED SIZE
54
54
alpine edge 3fc33d6d5e74 4 weeks ago 4.799 MB
@@ -57,7 +57,7 @@ If no tag is specified, Docker will pull the image with the `latest` tag.
57
57
3. Run a new container from the image and ping www.docker.com.
58
58
59
59
```
60
-
$ sudo docker run --rm -it alpine:edge sh
60
+
$ docker run --rm -it alpine:edge sh
61
61
62
62
/ # ping www.docker.com
63
63
PING www.docker.com (104.239.220.248): 56 data bytes
@@ -80,7 +80,7 @@ This is why pulling by digest is such a powerful operation. Thanks to the conten
80
80
1. Pull the Alpine image with the `sha256:b7233dafbed64e3738630b69382a8b231726aa1014ccaabc1947c5308a8910a7` digest.
0 commit comments