Snapcraft is no longer working within a Docker container
Metadata
Current evaluation
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").
Resolution: closed resolved
Reason: The reporter diagnosed the regression and submitted upstream PR snapcore/snapcraft#3607, which was merged into the main branch (merge commits 808d3b399 and fe185e8df, containing 6f2dc4445 'docker: fix python installation'), and the Launchpad bug was closed. Maintainers also noted snapcraft 5.0 remained a workaround for Docker users.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | 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"). | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed Docker support by correcting Python PATH/symlinks and adding a site-packages .pth file in merged PR #3607 (commit 6f2dc4445). | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a documented resolution. Commit 6f2dc4445 fixed Docker’s Python installation, but no evidence links that commit to this report. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The snapcraft Docker container build failure remains unfixed, indicating the report was abandoned due to inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The report detailed a snapcraft ModuleNotFoundError in Docker containers, but received no comments or fixes. The issue remains abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The reported snapcraft Docker container build failure remains unresolved, likely abandoned or superseded by upstream changes. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and abandoned without resolution or comments. The reported snapcraft Docker container failure remains unaddressed, likely superseded by upstream changes. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#3607
(confidence 97%)
Reporter-authored PR, branch named 'launchpad-bug-1956216', merged as 808d3b399/fe185e8df fixing the Python site-packages/PATH in the Docker image
-
Superseded By:
snapcore/snapcraft#4109
(confidence 60%)
Commit eb0bf1276 'docker: remove outdated Dockerfile (#4109)' later removed the official Dockerfile the fix touched, replacing it with the snapcraft-rocks registry
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3607 Launchpad bug 1956216: Fix Python installation | snapcraft | merged | Merged PR #3607 fixed Snapcraft's Docker Python setup by correcting PATH and symlinks and adding a site-packages .pth file; landed as 6f2dc4445. | |
| #5079 Cannot run snapcraft in docker anymore | snapcraft | 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. | |
| #5420 Snapcraft 7 fails to launch a LXD container based on host apt sources entries | snapcraft | closed | Closed as a duplicate of canonical/snapcraft#4408; no separate fix was made for this report. |