From 86fdcb4d8662eaee4d1aada90ef4c4a7cb5f327d Mon Sep 17 00:00:00 2001 From: Pradumna Saraf Date: Thu, 18 Dec 2025 19:15:16 +0530 Subject: [PATCH] docs: Update Deno containerization guide to reflect new DHI process (#23856) ## Description Update the Deno containerization guide to reflect the new DHI access method ## Reviews - [ ] Technical review - [x] Editorial review - [ ] Product review --- content/guides/deno/containerize.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/content/guides/deno/containerize.md b/content/guides/deno/containerize.md index c59273004e..a738c6dfba 100644 --- a/content/guides/deno/containerize.md +++ b/content/guides/deno/containerize.md @@ -71,13 +71,26 @@ Choosing DHI offers the advantage of a production-ready image that is lightweigh {{< tabs >}} {{< tab name="Using Docker Hardened Images" >}} -Docker Hardened Images (DHIs) are available for Deno on [Docker Hub](https://hub.docker.com/hardened-images/catalog/dhi/deno). Unlike using the Docker Official Image, you must first mirror the Deno image into your organization and then use it as your base image. Follow the instructions in the [DHI quickstart](/dhi/get-started/) to create a mirrored repository for Deno. -Mirrored repositories must start with `dhi-`, for example: `FROM /dhi-deno:`. In the following Dockerfile, the `FROM` instruction uses `/dhi-deno:2` as the base image. +Docker Hardened Images (DHIs) are available for Deno in the [Docker Hardened Images catalog](https://hub.docker.com/hardened-images/catalog/dhi/deno). You can pull DHIs directly from the `dhi.io` registry. + +1. Sign in to the DHI registry: + + ```console + $ docker login dhi.io + ``` + +2. Pull the Deno DHI as `dhi.io/deno:2`. The tag (`2`) in this example refers to the version to the latest 2.x version of Deno. + + ```console + $ docker pull dhi.io/deno:2 + ``` + +For other available versions, refer to the [catalog](https://hub.docker.com/hardened-images/catalog/dhi/deno). ```dockerfile # Use the DHI Deno image as the base image -FROM /dhi-deno:2 +FROM dhi.io/deno:2 # Set the working directory WORKDIR /app