You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
python:3.13-alpine permission denied in apk update #1076
we have been using the python:3.13-alpine image for some time. The recent update from 3.13.6 to 3.13.7 has a breaking change. Apk update (or apk add) results in permission denied errors.
# from terminal
% docker run --rm -it --entrypoint /bin/sh python:3.13-alpine
Hmm, I can't seem to reproduce -- maybe seccomp or something?
$ docker run --rm --pull=always python:3.13-alpine apk update3.13-alpine: Pulling from library/pythonDigest: sha256:9ba6d8cbebf0fb6546ae71f2a1c14f6ffd2fdab83af7fa5669734ef30ad48844Status: Image is up to date for python:3.13-alpinefetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gzfetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gzv3.22.1-326-ge10f1967b2c [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]v3.22.1-336-gbc8bda71ff2 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]OK: 26323 distinct packages available
Hmm, I can't seem to reproduce -- maybe seccomp or something?
$ docker run --rm --pull=always python:3.13-alpine apk update
3.13-alpine: Pulling from library/python
Digest: sha256:9ba6d8cbebf0fb6546ae71f2a1c14f6ffd2fdab83af7fa5669734ef30ad48844
Status: Image is up to date for python:3.13-alpine
fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
v3.22.1-326-ge10f1967b2c [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
v3.22.1-336-gbc8bda71ff2 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
OK: 26323 distinct packages available
Guessing that it could be architecture related, I tried both amd64 (native) and then arm64v8 (emulated) but I am also unable to reproduce the error. It could possibly be corrupt images (Did the Docker Desktop VM run out of space at some point? Try deleting them completely and pulling again) or perhaps it is libseccomp related (docker-library/official-images#16829)
$ docker run --rm --pull=always python:3.13-alpine apk update3.13-alpine: Pulling from library/pythonea971c774474: Pull complete5eb8a9c59764: Pull completec987cde7f297: Pull completeDigest: sha256:9ba6d8cbebf0fb6546ae71f2a1c14f6ffd2fdab83af7fa5669734ef30ad48844Status: Image is up to date for python:3.13-alpinefetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gzfetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gzv3.22.1-326-ge10f1967b2c [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]v3.22.1-336-gbc8bda71ff2 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]OK: 26323 distinct packages available
$ docker run --rm --pull=always --platform linux/arm64 python:3.13-alpine apk update3.13-alpine: Pulling from library/pythonDigest: sha256:9ba6d8cbebf0fb6546ae71f2a1c14f6ffd2fdab83af7fa5669734ef30ad48844Status: Image is up to date for python:3.13-alpinefetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gzfetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gzv3.22.1-326-ge10f1967b2c [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]v3.22.1-336-gbc8bda71ff2 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]OK: 26162 distinct packages available
Activity
tianon commentedon Sep 2, 2025
Hmm, I can't seem to reproduce -- maybe seccomp or something?
tgermain-impirica commentedon Sep 2, 2025
additional info
# try apk in alpine 3.22.1 native docker run --rm -it alpine:3.22.1tgermain-impirica commentedon Sep 2, 2025
Just tried your exact command
yosifkit commentedon Sep 3, 2025
Guessing that it could be architecture related, I tried both
amd64(native) and thenarm64v8(emulated) but I am also unable to reproduce the error. It could possibly be corrupt images (Did the Docker Desktop VM run out of space at some point? Try deleting them completely and pulling again) or perhaps it islibseccomprelated (docker-library/official-images#16829)tgermain-impirica commentedon Sep 4, 2025
Excellent point @yosifkit
This is happening on docker desktop on Mac. Maybe it is architecture related.
This command succeeds
This command fails
Fi6uDvGWucFv commentedon Sep 4, 2026