From 9c88448b6bcc06d7551f3c398bfd895da05ed1fd Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2026 00:08:23 +0000 Subject: [PATCH] docs: tidy voice and sentence length on the Building images page --- datumctl/compute/building-images.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/datumctl/compute/building-images.mdx b/datumctl/compute/building-images.mdx index 5290673..576585a 100644 --- a/datumctl/compute/building-images.mdx +++ b/datumctl/compute/building-images.mdx @@ -4,13 +4,13 @@ sidebarTitle: "Building images" description: "Turn a Dockerfile into an image Datum Compute can run, check it for compatibility, and publish it with datumctl compute build." --- -`datumctl compute build` packages a Dockerfile and build context into an image, and optionally publishes it. Point it at the same Dockerfile you already use for a normal container — no Compute-specific syntax required. +`datumctl compute build` packages a Dockerfile and build context into an image, and optionally publishes it. Point it at the same Dockerfile you already use for a normal container. You don't need any Compute-specific syntax. ```bash datumctl compute build . ``` -`build` is for workloads on the `unikernel` runtime class, the default. That class doesn't run the image as a normal container. It boots the image as a [unikernel](/compute/runtimes/unikernels), which gives each Instance its own virtual machine with container-like density and startup speed. `build` packages your Dockerfile into the artifact that runtime boots from, and validates it against unikernel requirements as part of the same step — so a missing shared library or the wrong architecture shows up as a build-time error instead of a workload that never comes up. +`build` is for workloads on the `unikernel` runtime class, the default. That class doesn't run the image as a normal container. It boots the image as a [unikernel](/compute/runtimes/unikernels), which gives each Instance its own virtual machine with container-like density and startup speed. `build` packages your Dockerfile into the artifact that runtime boots from, and validates it against unikernel requirements in the same step. A missing shared library or the wrong architecture shows up as a build-time error instead of a workload that never comes up. Workloads on the `general-purpose` runtime class run standard container images, so they don't need `build`. Push the image with the tools that you already use. For more information, see [Choose a runtime class](/compute/runtimes/overview). @@ -22,7 +22,7 @@ With no `--output`, this is a **local debug build**: it packages the image so yo ## Choosing a Dockerfile -By default, `build` looks for `Dockerfile.datum` in the build context and falls back to `Dockerfile` if that file does not exist — a convenient way to keep a Compute-specific variant alongside your normal one without extra flags. Use `-f` to point at a Dockerfile anywhere else: +By default, `build` looks for `Dockerfile.datum` in the build context and falls back to `Dockerfile` if that file doesn't exist. This lets you keep a Compute-specific variant alongside your normal one without extra flags. Use `-f` to point at a Dockerfile anywhere else: ```bash # Use a Dockerfile in a non-default location @@ -54,12 +54,12 @@ datumctl compute build --output ./compute-image.tar . ``` - When `--output` is a registry reference, `build` asks for confirmation before pushing. Pass `--push` to skip that prompt — required in CI, where there is no terminal to confirm on. + When `--output` is a registry reference, `build` asks for confirmation before pushing. Pass `--push` to skip that prompt. You need `--push` in CI, where there is no terminal to confirm on. ## Checking compatibility before you package it -`--analyze` inspects the built entrypoint for the kind of problem that only shows up once Compute's unikernel runtime tries to boot the image — a binary built for the wrong architecture, a startup script whose interpreter is missing, or a shared library the final stage never copied in: +`--analyze` inspects the built entrypoint for problems that only show up once Compute's unikernel runtime tries to boot the image. Examples include a binary built for the wrong architecture, a startup script whose interpreter is missing, or a shared library the final stage never copied in: ```bash datumctl compute build --analyze . @@ -76,7 +76,7 @@ error[missing-libs]: /app/server requires a runtime file that is not present in | + COPY --from=build /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libc.so.6 ``` -Reach for `--fix` once you're ready to apply changes like that automatically — it edits the selected Dockerfile in place and rebuilds. `--fix` implies `--analyze`, and only ever applies safe, exact-line edits — it will never restructure your Dockerfile. +Use `--fix` when you're ready to apply changes like that automatically. It edits the selected Dockerfile in place and rebuilds. `--fix` implies `--analyze` and only applies safe, exact-line edits. It never restructures your Dockerfile. ```bash datumctl compute build --fix . @@ -84,7 +84,7 @@ datumctl compute build --fix . ## Inspecting a published image -`build inspect ` is a diagnostic for an image that already exists in a registry — useful when a deployment isn't starting and you want to confirm the image itself is the problem before looking at the workload. It reports the same kind of compatibility findings as `--analyze`, plus the packaged filesystem and startup configuration Compute will boot from. Add `--extended` for additional OCI metadata — the image index, manifest digest, and layer count. Inspection never downloads the packaged filesystem layer itself, so it stays fast even against a large image. +`build inspect ` diagnoses an image that already exists in a registry. Use it when a deployment isn't starting and you want to confirm the image itself is the problem before you look at the workload. It reports the same kind of compatibility findings as `--analyze`, plus the packaged filesystem and startup configuration Compute will boot from. Add `--extended` for additional OCI metadata: the image index, manifest digest, and layer count. Inspection never downloads the packaged filesystem layer itself, so it stays fast even against a large image. ```bash datumctl compute build inspect ghcr.io/acme/api:1.4.2