sincecutoff.com
← all changes

nerdctl commit adds --timeout for lease timeout

Introduced 2026-10-30 · score 0.95

HOW TO USE IT

When committing a container as an image, pass `--timeout` to set the lease timeout.

nerdctl commit --timeout <duration> <container> [<repository>[:<tag>]]

WHY THIS HELPS

Set the lease timeout when committing a container as an image.

BEFORE THIS CHANGE

Use the hard-coded lease timeout of 1h.

REQUIREMENTS AND LIMITATIONS

  • Version: v2.4.2
  • --timeout: Maximum commit duration; Go duration (default 1h). `0` or `0s` uses containerd's default lease expiration (24h).

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card