Air-Gapped Installs

If the network you run your vendor's software on can't reach the internet, you can still install and update it. You bundle a release of the software on a machine that has internet access, carry the one file across, and load it into your own registry or Docker on the other side.

This works with releases: the versions your vendor has published. Each one lists the exact images and files that ship together. Find them on your license page, under Releases. The release page shows the notes, a pull command for every image (by digest, so you get exactly what was released), the files to download, and an Install without internet access panel.

The Install without internet access panel, and bundling with the CLI, are part of your vendor's Business and Enterprise plans. If your vendor is on another plan the release page has no panel; the digest-pinned docker pull commands under Images still work for copying the images across by hand (see With Docker only).

The Breakwater CLI

The breakwater command line tool builds and loads bundles. It's open source at github.com/stympy/breakwater-cli.

Install it

Download the binary for your platform from the latest release. There are builds for Linux, macOS and Windows on amd64 and arm64, and a checksums.txt to check them against. The release page's Install without internet access panel links to the version your vendor's portal expects.

Sign in

The CLI uses a pull token: the same credentials as docker login. Create one on the Tokens page. It looks for credentials in this order:

  1. --username <token username> --password-stdin, with the token secret on stdin;
  2. the BREAKWATER_USERNAME and BREAKWATER_TOKEN environment variables;
  3. Docker's stored credentials for registry.breakwaterapp.com, so if you've already run docker login registry.breakwaterapp.com, there's nothing more to do.

breakwater releases lists the releases you can bundle, and --product <slug> narrows the list to one product.

Create a bundle

On a machine with internet access:

breakwater bundle create <product> <version>

For example, breakwater bundle create acme-server 2.4.1. The CLI:

  1. fetches the release from Breakwater;
  2. pulls the release's images by digest. Images from your vendor come from the Breakwater registry with your token; outside images, such as a public Postgres, come anonymously from their own registry;
  3. downloads and checks the release's files;
  4. writes one archive, <product>-<version>.bwbundle.tar.

It also copies the breakwater binary it's running into the bundle, so you can verify and load without installing anything on the air-gapped side. If that machine runs a different operating system or architecture, add --cli-binaries (below) for its platform before you carry the bundle across.

Options:

  • --platform linux/amd64,linux/arm64 keeps only those platforms of multi-platform images, which makes the bundle smaller. By default every platform is kept.
  • -o <file> names the archive.
  • --cli-binaries linux/amd64,windows/amd64 also adds the CLI for other platforms, downloaded from its GitHub release and checked against its checksums.
  • --force replaces an existing archive.

At the end it prints the bundle's SHA-256. Note it down and compare it on the other side.

Each time you bundle, Breakwater notes it for your vendor: the release, platforms, CLI version and size. That's how they know which versions offline customers have. It never includes the contents of the bundle.

Docker Hub limits anonymous pulls. If a release has several Docker Hub images and you hit the limit, pass --platform to fetch fewer manifests, or try again later.

Verify it

Carry the file across. If the CLI isn't installed on the air-gapped machine, take it out of the bundle first. The copies are under bin/, named after their platform:

tar -xf acme-server-2.4.1.bwbundle.tar bin/breakwater_linux_amd64
chmod +x bin/breakwater_linux_amd64

Then run it as bin/breakwater_linux_amd64 wherever these steps say breakwater. On Windows, extract bin/breakwater_windows_amd64.exe; it needs no chmod.

Now check the bundle:

breakwater bundle verify acme-server-2.4.1.bwbundle.tar

It works offline. It checks every image, file and binary against the digests recorded in the bundle, and prints the bundle's SHA-256 and each image's digest. That catches a damaged transfer. To be sure nobody swapped the file, compare the SHA-256 with the one bundle create printed, and the image digests with the release page.

Load it

bundle load verifies the bundle first. It loads nothing unless the bundle checks out.

Into Docker:

breakwater bundle load acme-server-2.4.1.bwbundle.tar --docker

This loads the images for Docker's platform under their original names, so the release's Compose file works unchanged. To load another platform, pass --platform. Artifacts that aren't container images, such as Helm charts, are skipped and listed.

Into a registry you run:

breakwater bundle load acme-server-2.4.1.bwbundle.tar --registry registry.internal.example.com

--registry takes a host and an optional path prefix, and pushes every image there, keeping its digest:

  • your vendor's images go to <registry>/<repository>:<tag>, for example registry.internal.example.com/acme/server:2.4.1;
  • outside images keep their source registry as the first path segment, for example registry.internal.example.com/docker.io/library/postgres:16.4.

The CLI prints each old and new name. It signs in to your registry with Docker's stored credentials for it, or --username and --password-stdin. It uses HTTPS only, unless you pass --insecure. If your registry's certificate comes from a private certificate authority, pass --ca-file <ca.pem>.

If you bundled only some platforms of a multi-platform image, the image gets a new digest in your registry, and the CLI says so.

Rewrite the release's files

The bundle's files, such as a Compose file or a Helm values file, still name the original images. To change those names, add --rewrite-files <dir> to bundle load. It writes copies into <dir> with every image: line rewritten:

  • with --registry, the names point at your registry;
  • with --docker, digest pins are removed. docker load doesn't record digests, so a pinned name wouldn't resolve.

With Docker only

You don't need the CLI. On a machine with internet access, log in and run the commands from the release page's Install without internet access panel (shown on Business and Enterprise plans). They look like this:

On other plans, run docker pull for each image from the Images section of the release page instead, then docker save them together yourself. The commands in the panel are:

docker login registry.breakwaterapp.com -u your_username
docker pull registry.breakwaterapp.com/acme/server@sha256:...
docker tag registry.breakwaterapp.com/acme/server@sha256:... registry.breakwaterapp.com/acme/server:2.4.1
docker pull docker.io/library/postgres:16.4@sha256:...
docker tag docker.io/library/postgres:16.4@sha256:... docker.io/library/postgres:16.4
docker save -o acme-server-2.4.1.tar registry.breakwaterapp.com/acme/server:2.4.1 docker.io/library/postgres:16.4

Carry acme-server-2.4.1.tar across and run docker load -i acme-server-2.4.1.tar. Download the release's files from the release page and carry them too.

The commands pull by digest, so you get the released images even if a tag has since moved. The fallback is simpler but has limits:

  • It keeps one architecture, the one of the machine that pulls. Pull on a machine of the same architecture as the one you'll run on.
  • It doesn't verify the transfer. Compare checksums yourself, for the files against the SHA-256 shown on the release page.
  • It loads into Docker, not into a registry, and doesn't change image names in the release's files.

Updating

Bundle each new release the same way and load it next to the old one. Your vendor sees each bundle you make, so they know which version you're moving to.

Last updated November 16, 2026