---
name: "singularity-oci-update"
section: "1"
platform: "linux"
package: "apptainer"
version: "1.5.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/singularity-oci-update"
---

# singularity-oci-update(1)

Update container cgroups resources (root user only)

## NAME

apptainer-oci-update - Update container cgroups resources (root user only)

## SYNOPSIS

**apptainer oci update \[update options...\]**

## DESCRIPTION

Update will update cgroups resources for the specified container ID. Container\
   must be in a RUNNING or CREATED state.

## OPTIONS

**-f**, **--from-file**=""\
 	specify path to OCI JSON cgroups resource file ('-' to read from STDIN)

**-h**, **--help**\[=false\]\
 	help for update

## EXAMPLE

```
  $ apptainer oci update --from-file /tmp/cgroups-update.json mycontainer
  or to update from stdin :
  $ cat /tmp/cgroups-update.json | apptainer oci update --from-file - mycontainer
```

## SEE ALSO

**[apptainer-oci(1)](/apptainer-oci/1.md)**

## HISTORY

22-Sep-2026 Auto generated by spf13/cobra
