`up --frozen-lockfile` doesn't fail when lockfile is outdated

Open
#1,273 1 comment 0 reactions 1 assignee View on GitHub

@v-Kaniska244 is already working on this.

Since Aug 6, 2026.

Assessment

This issue has not been assessed yet.

Description

npx @devcontainers/cli up --help says:

  --frozen-lockfile                 Ensure lockfile exists and remains unchanged;
                                     fail otherwise.   [boolean] [default: false]

I just ran up --frozen-lockfile twice, changing devcontainer.json (Really simple - image and feature. Changed feature from one to another.) in between without updating the lockfile. Got success and the same container id both times.

Dominant language
TypeScript
Stars
3k
Forks
461
Avg merge
18m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devcontainers/cli

All issues in devcontainers/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.