
!https://raw.githubusercontent.com/11notes/static/refs/heads/master/img/banner/README.png
!size!https://raw.githubusercontent.com/11notes/static/refs/heads/master/img/markdown/transparent5x2px.png!pulls!https://raw.githubusercontent.com/11notes/static/refs/heads/master/img/markdown/transparent5x2px.png%5B](https://github.com/11notes/docker-pocket-id/issues)!https://raw.githubusercontent.com/11notes/static/refs/heads/master/img/markdown/transparent5x2px.png!swiss_made
Run pocket-id rootless and distroless.
Pocket ID is a simple OIDC provider that allows users to authenticate with their passkeys to your services.
What can I do with this? This image will run pocket-id https://github.com/11notes/RTFM/blob/main/linux/container/image/rootless.md and https://github.com/11notes/RTFM/blob/main/linux/container/image/distroless.md, for maximum security.
Why should I run this image and not the other image(s) that already exist? Good question! Because ...
If you value security, simplicity and optimizations to the extreme, then this image might be for you.
Below you find a comparison between this image and the most used or original one.
| image | size on disk | init default as | https://github.com/11notes/RTFM/blob/main/linux/container/image/distroless.md | supported architectures |
|---|---|---|---|---|
| 11notes/pocket-id | 35MB | 1000:1000 | ✅ | amd64, arm64 |
| pocket-id/pocket-id | 77MB | 0:0 | ❌ | amd64, arm64 |
yamlname: "idp" x-lockdown: &lockdown # prevents write access to the image itself read_only: true # prevents any process within the container to gain more privileges security_opt: - "no-new-privileges=true" services: postgres: # detailed info about this image: https://github.com/11notes/docker-postgres image: "11notes/postgres:16" <<: *lockdown environment: TZ: "Europe/Zurich" POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}" POSTGRES_BACKUP_SCHEDULE: "0 3 * * *" volumes: - "postgres.etc:/postgres/etc" - "postgres.var:/postgres/var" - "postgres.backup:/postgres/backup" tmpfs: - "/postgres/run:uid=1000,gid=1000" - "/postgres/log:uid=1000,gid=1000" networks: backend: restart: "always" pocket-id: depends_on: postgres: condition: "service_healthy" restart: true image: "11notes/pocket-id:2.6.2" <<: *lockdown environment: TZ: "Europe/Zurich" APP_URL: "${FQDN}" TRUST_PROXY: true DB_PROVIDER: "postgres" DB_CONNECTION_STRING: "postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres" # DB_CONNECTION_STRING: "file:/pocket-id/var/pocket-id.db?_pragma=journal_mode(WAL)&_pragma=busy_timeout(2500)&_txlock=immediate" volumes: - "pocket-id.var:/pocket-id/var" ports: - "3000:1411/tcp" networks: frontend: backend: restart: "always" volumes: postgres.etc: postgres.var: postgres.backup: pocket-id.var: networks: frontend: backend: internal: true
To find out how you can change the default UID/GID of this container image, consult the https://github.com/11notes/RTFM/blob/main/linux/container/image/11notes/how-to.changeUIDGID.md#change-uidgid-the-correct-way.
| Parameter | Value | Description |
|---|---|---|
user | docker | user name |
uid | 1000 | user identifier |
gid | 1000 | group identifier |
home | /pocket-id | home directory of user docker |
| Parameter | Value | Default |
|---|---|---|
TZ | Time Zone | |
DEBUG | Will activate debug option for container image and app (if available) |
These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.
It is my opinion that the :latest tag is a bad habbit and should not be used at all. Many developers introduce breaking changes in new releases. This would messed up everything for people who use :latest. If you don’t want to change the tag to the latest semver, simply use the short versions of semver. Instead of using :2.6.2 you can use :2 or :2.6. Since on each new version these tags are updated to the latest version of the software, using them is identical to using :latest but at least fixed to a major or minor version. Which in theory should not introduce breaking changes.
If you still insist on having the bleeding edge release of this app, simply use the :rolling tag, but be warned! You will get the latest version of the app instantly, regardless of breaking changes or security issues or what so ever. You do this at your own risk!
docker pull 11notes/pocket-id:2.6.2 docker pull ghcr.io/11notes/pocket-id:2.6.2 docker pull quay.io/11notes/pocket-id:2.6.2
This image supports unraid by default. Simply add -unraid to any tag and the image will run as 99:100 instead of 1000:1000.
This image supports nobody by default. Simply add -nobody to any tag and the image will run as 65534:65534 instead of 1000:1000.
This image is not based on another image but uses https://hub.docker.com/_/scratch as the starting layer. The image consists of the following distroless layers that were added:
This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the https://github.com/11notes/docker-pocket-id/releases for breaking changes. If you have any problems with using this image simply raise an https://github.com/11notes/docker-pocket-id/issues, thanks. If you have a question or inputs please create a new https://github.com/11notes/docker-pocket-id/discussions instead of an issue. You can find all my other repositories on https://github.com/11notes?tab=repositories.
created 22.04.2026, 09:04:11 (CET)
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。




探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务