Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nix-oci-lock update

resolve and update OCI image digests

Synopsis

Update OCI image digests for all or one NixOS configuration(s), for either all containers, or a single container in particular.

nix-oci-lock update [node] [container] [flags]

Examples

nix-oci-lock update
nix-oci-lock update server
nix-oci-lock update server immich

Options

      --commit   commit the lock file changes immediately with an appropriate commit message
      --dry      show what an update run would do, do not write the lock file (mutually exclusive with --commit)
  -h, --help     help for update

Options inherited from parent commands

      --flake string   flake URI or path to evaluate (default ".")
      --lock string    path to OCI lock file (default "oci-lock.json")

SEE ALSO

Auto generated by spf13/cobra on 8-Jul-2026