Cannot run snapcraft in docker anymore
Metadata
Current evaluation
Snapcraft extracted into Docker fails with a snapctl/snapd-socket internal error; a custom Python-module launcher workaround succeeds, while a maintainer keeps the triaged issue open to improve errors.
Suggested action: keep open
Reason: The reporter confirmed Docker builds work after changing the custom launcher to invoke the bundled Python with `-m snapcraft`, so there is a workaround but also an opaque internal error. The issue is labeled Status: Triaged, and @mr-cal explicitly said it should remain open because error handling can be improved. Although current `snapcraft/snap_config.py` catches `SnapCtlError` for its own config path, the reported traceback passes through craft-application/snaphelpers, leaving the implementation boundary and expected diagnostic unspecified.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
42
Quick Win:
14
Complexity:
52
Confidence:
94
Actionability:
70
|
keep open | Snapcraft extracted into Docker fails with a snapctl/snapd-socket internal error; a custom Python-module launcher workaround succeeds, while a maintainer keeps the triaged issue open to improve errors. | |
| qwen/qwen3.6-35b-a3b |
Impact:
40
Quick Win:
20
Complexity:
30
Confidence:
90
Actionability:
70
|
keep open | Triaged enhancement to improve error handling when snapcraft runs in Docker without snapd. Maintainer acknowledged and requested to keep open. | |
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
30
Staleness:
65
Complexity:
40
Confidence:
75
Support Request:
40
|
keep open | Snapcraft crashes with SnapCtlError when run in Docker without snapd; reporter found a working Dockerfile workaround, maintainer kept it open to improve error handling. Triaged as enhancement, last activity 493 days ago. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
75
Complexity:
30
Confidence:
90
Support Request:
20
|
keep open | Snapcraft fails in Docker due to missing snapd socket. User resolved via Dockerfile workaround. Maintainer acknowledged and requested keeping it open for error handling improvements. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
40
Confidence:
90
Support Request:
0
|
keep open | Triaged enhancement to improve error handling when snapcraft runs in Docker without snapd. Maintainer explicitly requested it remain open for future implementation. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#6419
(confidence 78%)
Both report Docker failures involving the Snapcraft launcher environment; #6419 concerns sudo/destructive mode and has no confirmed shared root cause or fix.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1956216 Snapcraft is no longer working within a Docker container | snapcraft (launchpad) | closed | Reporter's own PR snapcore/snapcraft#3607 (branch launchpad-bug-1956216) fixed the Docker breakage by correcting the Python install/PATH and site-packages, merged as 808d3b399 (commit 6f2dc4445 "docker: fix python installation"). |