Problem description
Recently proot-distro on my termux kept reporting
[!] Failed to install: Unauthorized: 'docker.io/library/ubuntu:24.04' does not exist or is a private image. Set PD_DOCKER_AUTH=username:password to authenticate.
[!] See 'proot-distro install --help' on how to install distribution image.
While using curl shows my phone can access to docker's registry and auth endpoint normally
~ $ curl -I https://registry-1.docker.io/v2/
HTTP/2 401
date: Sun, 28 Jun 2026 02:48:22 GMT
content-type: application/json
content-length: 87
docker-distribution-api-version: registry/2.0
www-authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io"
strict-transport-security: max-age=31536000
~ $ curl -I "https://auth.docker.io/token?service=registry.docker.io&scope=repository:library/ubuntu:pull"
HTTP/2 405
date: Sun, 28 Jun 2026 02:48:47 GMT
allow: GET
allow: POST
x-trace-id: 0e6cd68012ccf7a912e7d737ba082ccb
x-trace-sampled: true
strict-transport-security: max-age=31536000
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=MU_S7rJgFiuss9GOa7.lJacr1YJipZbcHwu9QGr2Sds-1782614927.0632575-1.0.1.1-KG5BMdVZHe5UJi61YCNobuZwycGQF8vQ2WABVx4KE4nkhJTYh7Hjo0OFwIsB5.RvHRtsQrXyJdcfEdQwFvdeaPZfqptpxhfyi9fWOeVyfCo1wmVwRFtYPBcg2md1u1Om; HttpOnly; SameSite=None; Secure; Path=/; Domain=auth.docker.io; Expires=Sun, 28 Jun 2026 03:18:47 GMT
server: cloudflare
cf-ray: a1295fde29cdb4d6-KUL
Tried proot-distro install alpine:latest, proot-distro install docker.io/library/ubuntu:24.04, proot-distro install ubuntu. Nothing change.
What steps will reproduce the bug?
- proot-distro install docker.io/library/ubuntu:24.04 or proot-distro install alpine:latest or proot-distro install ubuntu
What is the expected behavior?
No response
Problem description
Recently proot-distro on my termux kept reporting
[!] Failed to install: Unauthorized: 'docker.io/library/ubuntu:24.04' does not exist or is a private image. Set PD_DOCKER_AUTH=username:password to authenticate.
[!] See 'proot-distro install --help' on how to install distribution image.
While using curl shows my phone can access to docker's registry and auth endpoint normally
~ $ curl -I https://registry-1.docker.io/v2/
HTTP/2 401
date: Sun, 28 Jun 2026 02:48:22 GMT
content-type: application/json
content-length: 87
docker-distribution-api-version: registry/2.0
www-authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io"
strict-transport-security: max-age=31536000
~ $ curl -I "https://auth.docker.io/token?service=registry.docker.io&scope=repository:library/ubuntu:pull"
HTTP/2 405
date: Sun, 28 Jun 2026 02:48:47 GMT
allow: GET
allow: POST
x-trace-id: 0e6cd68012ccf7a912e7d737ba082ccb
x-trace-sampled: true
strict-transport-security: max-age=31536000
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=MU_S7rJgFiuss9GOa7.lJacr1YJipZbcHwu9QGr2Sds-1782614927.0632575-1.0.1.1-KG5BMdVZHe5UJi61YCNobuZwycGQF8vQ2WABVx4KE4nkhJTYh7Hjo0OFwIsB5.RvHRtsQrXyJdcfEdQwFvdeaPZfqptpxhfyi9fWOeVyfCo1wmVwRFtYPBcg2md1u1Om; HttpOnly; SameSite=None; Secure; Path=/; Domain=auth.docker.io; Expires=Sun, 28 Jun 2026 03:18:47 GMT
server: cloudflare
cf-ray: a1295fde29cdb4d6-KUL
Tried proot-distro install alpine:latest, proot-distro install docker.io/library/ubuntu:24.04, proot-distro install ubuntu. Nothing change.
What steps will reproduce the bug?
What is the expected behavior?
No response