Repository navigation
[Docs] DOCKER.md: name the old-daemon start that looks like a card or image problem - #4316
XiaoBinGan wants to merge 1 commit into
Conversation
…mage problem A host whose Docker predates 20.10 starts the image and gets "The engine in this image does not match this computer's graphics card" with "strata: no usable Python found" underneath. The card and the image are fine: that daemon's default seccomp profile denies access(X_OK), so the launcher's executable test answers no for the bundled runtime, which is present and runs. The section above already sends a reader with that first sentence to the card, the toolkit and the image flavour. The new entry gives the three commands that tell the two cases apart inside the image (nothing is downloaded), says what the combination means, and gives the one-option fix with the compose spelling. Measured on Docker 19.03.15 with its default profile in both 0.2.2-cuda13 and 0.2.7-cuda13, the current image: `denied`, `present`, `Python 3.12.15`, the launcher stopping at "no usable Python found", and with --security-opt seccomp=unconfined the same 0.2.7 container printing "strata 0.2.7 (build 0.1.52; python 3.12.15 at ...)" (Niko1221#4309; launcher and entrypoint fixed in Niko1221#4312).
4307f8e to
a94cd87
Compare
|
The entry now names 0.2.7-cuda13 as well, because that is the current image and I could measure it (it appeared after 0.2.7 shipped — 0.2.7-cuda13 and 0.2.7-rocm-gfx120x are the two new tags). Same host, same Docker 19.03.15, default seccomp profile: So the symptom, the three diagnostics and the fix all reproduce on the current release, not only on 0.2.2-cuda13. The entry says both versions now, with the version line the fixed run prints on 0.2.7. Also worth knowing for the same sentence: the |
|
Correction to my comment above: 0.2.7 published all six variants, not two, and the So a reader following the README's What is unchanged and is the reason this entry still helps: the 0.2.7 image still stops at |
Problem and result
A host whose Docker predates 20.10 starts the image and gets:
The card, the driver, the toolkit and the image flavour are all fine. That daemon's default seccomp profile
denies
access(X_OK), so the launcher's "is this Python executable?" test answers no for the bundledruntime — which is present and runs.
docs/DOCKER.mdalready has a troubleshooting entry that begins withexactly that first sentence and sends the reader to the card, the toolkit and the image flavour, so a reader
with this cause is sent the wrong way and nothing in the document mentions
seccomp.After this change the section names the case, gives three commands that tell the two apart inside the image
(nothing is downloaded), says what the combination means, and gives the one-option fix with its compose
spelling.
Related discussion: #4309 (the report) and #4312 (the launcher and the entrypoint no longer depend on that
test). Those are code; this is the document a reader on a released image reaches, where the bug is still
present.
Approach
One entry in
Troubleshooting, placed directly after the card-mismatch entry so the two are read together.It does not restate the existing entry and does not change any other section.
Validation
Passed: the three commands exactly as written, against the image the document names
(
ghcr.nju.edu.cn/niko1221/strata:0.2.2-cuda13, mirror ofghcr.io), on the host that shows the bug(Docker 19.03.15, default seccomp):
Passed: the documented fix, the same container with
--security-opt seccomp=unconfined, printsstrata 0.2.2 (build 0.1.47; python 3.12.15 at /opt/strata/terminal/python/bin/python3). Without the optionthe same command prints the two lines quoted above.
Passed: the file keeps the document's style (bold symptom first, then cause, then a command block) and its
Markdown: the new block is inside
## Troubleshooting, uses fences that match the neighbouring entries, andthe file's line endings stay LF, as the repository stores it.
Failed: none.
Not run:
docs/DOCKER.md's own checks: the repository has no link checker I could run locally for thispage. The entry adds no link, only inline commands and one issue/PR reference that both exist. I did not
build an image or run the compose file, because the change is prose only.
Limits
the option until it is built from [TUI] launcher: start the bundled runtime when access(X_OK) is denied (Docker's default seccomp profile) #4312.
IMAGE) rather than repeating a version, so they stayvalid for any image; the measured version is named in the text.