Skip to content

docs: document dev container runtime limitations - #1900

Open
unbridled-41 wants to merge 1 commit into
OpenAtom-Linyaps:masterfrom
unbridled-41:docs/dev-container-limitations
Open

docs: document dev container runtime limitations#1900
unbridled-41 wants to merge 1 commit into
OpenAtom-Linyaps:masterfrom
unbridled-41:docs/dev-container-limitations

Conversation

@unbridled-41

Copy link
Copy Markdown
Contributor

Summary

Document why sandbox and repository commands fail out of the box in the dev container and their workarounds.

Root cause

The container builds this repository only: the default OCI runtime ll-box comes from the separate linyaps-box project, and config.yaml under LINGLONG_DATA_DIR is only installed by make install. Both gaps surface as unrelated-looking errors (ll-box not found, all failed from repository config loading).

Changes

  • Add a "已知限制" section to DEVELOPMENT_CONTAINER.md with the two workarounds (LINGLONG_OCI_RUNTIME override, copying misc/share/linglong/config.yaml) and a pointer to ll-cli doctor.

Test plan

The dev container builds this repository only, so ll-box (from the
separate linyaps-box project) and the installed config.yaml under
$LINGLONG_DATA_DIR are missing, and sandbox or repository commands fail
with errors that do not point at the cause. Document both workarounds
and mention ll-cli doctor, which reports each component with a hint.
@deepin-ci-robot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: unbridled-41

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-ci-robot

Copy link
Copy Markdown
Collaborator

Hi @unbridled-41. Thanks for your PR.

I'm waiting for a OpenAtom-Linyaps member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants