Skip to content

[Bug] The 1Panel App Store seems unable to share existing local Docker login credentials #10460

@willow-god

Description

@willow-god

Contact Information

[email protected]

1Panel Version

v2.0.11

Problem Description

For easier management, I adapted a third-party store to point to my private docker registry. In the previous version of 1Panel, I could install or upgrade apps successfully as long as I ran docker login beforehand. However, after upgrading 1Panel, this no longer works — it seems there may now be some kind of isolation in place?

I also tried adding a docker login command in the init.sh script, but that didn’t solve the problem either.

In the UI, I configured the private registry under Containers → Config and also set the username/password under Containers → Repositories. After syncing, I can confirm the credentials exist in /root/.docker/config.json, and both docker pull and docker compose work fine directly from the terminal.

However, the 1Panel App Store still fails to authenticate and pull images from my private registry. In the previous version, I was able to bypass this by pulling images in advance, but in the new version even that approach fails, resulting in installation errors.

Steps to Reproduce

Find any private registry and adapt it to a local application to reproduce.

The expected correct result

Can be pulled successfully

Related log output

none

Additional Information

none

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions