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
Copy file name to clipboardExpand all lines: content/guides/rust/build-images.md
+58-89Lines changed: 58 additions & 89 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ This utility will walk you through creating the following files with sensible de
50
50
Let's get started!
51
51
52
52
? What application platform does your project use? Rust
53
-
? What version of Rust do you want to use? 1.91.1
53
+
? What version of Rust do you want to use? 1.92.0
54
54
? What port does your server listen on? 8000
55
55
```
56
56
@@ -73,73 +73,24 @@ They help reduce vulnerabilities and simplify compliance. For more details, see
73
73
{{< tabs >}}
74
74
{{< tab name="Using Docker Hardened Images" >}}
75
75
76
-
Docker Hardened Images (DHIs) are available for Rust in the Hardened Image catalog. Unlike the official image, you must first mirror the Rust DHI into your Docker organization.
77
-
Follow the [DHI quickstart](/dhi/get-started/) to mirror the `dhi-rust` repository. Mirrored repositories must start with `dhi-`, for example:
@@ -260,7 +229,7 @@ To list images, run the `docker images` command.
260
229
```console
261
230
$ docker images
262
231
REPOSITORY TAG IMAGE ID CREATED SIZE
263
-
docker-rust-image latest 0c9f89589c2b 3 minutes ago 123MB
232
+
docker-rust-image latest 41423bf3040a 3 minutes ago 5.33MB
264
233
```
265
234
266
235
You should see at least one image listed, including the image you just built `docker-rust-image:latest`.
@@ -284,8 +253,8 @@ Now, run the `docker images` command to see a list of the local images.
284
253
```console
285
254
$ docker images
286
255
REPOSITORY TAG IMAGE ID CREATED SIZE
287
-
docker-rust-image latest 0c9f89589c2b 4 minutes ago 123MB
288
-
docker-rust-image v1.0.0 0c9f89589c2b 4 minutes ago 123MB
256
+
docker-rust-image latest 41423bf3040a 4 minutes ago 5.33MB
257
+
docker-rust-image v1.0.0 41423bf3040a 4 minutes ago 5.33MB
289
258
```
290
259
291
260
You can see that two images start with `docker-rust-image`. You know they're the same image because if you take a look at the `IMAGE ID` column, you can see that the values are the same for the two images.
@@ -302,7 +271,7 @@ Note that the response from Docker tells you that Docker didn't remove the image
302
271
```console
303
272
$ docker images
304
273
REPOSITORY TAG IMAGE ID CREATED SIZE
305
-
docker-rust-image latest 0c9f89589c2b 6 minutes ago 123MB
274
+
docker-rust-image latest 41423bf3040a 6 minutes ago 5.33MB
306
275
```
307
276
308
277
Docker removed the image tagged with `:v1.0.0`, but the `docker-rust-image:latest` tag is available on your machine.
0 commit comments