mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
Add new guides for all of the new labspaces
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{{ $image := .Get "image" }}
|
||||
{{ $modelDownload := .Get "model-download" | default "false" }}
|
||||
{{ $browserUrl := .Get "browserUrl" | default "http://localhost:3030"}}
|
||||
|
||||
{{ $step1 := printf "1. Start the labspace:\n\n ```console\n $ docker compose -f oci://%s up -d\n ```" $image }}
|
||||
|
||||
@@ -7,6 +8,6 @@
|
||||
{{ $step1 = printf "%s\n\n > [!NOTE]\n >\n > The lab may take a few minutes to launch, as this lab requires an AI model that will need to be downloaded." $step1 }}
|
||||
{{ end }}
|
||||
|
||||
{{ $step2 := "2. Open your browser to [http://localhost:3030](http://localhost:3030)." }}
|
||||
{{ $step2 := printf "2. Open your browser to [%s](%s)." $browserUrl $browserUrl }}
|
||||
|
||||
{{ printf "%s\n\n%s" $step1 $step2 | .Page.RenderString (dict "display" "block") }}
|
||||
|
||||
Reference in New Issue
Block a user