mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 04:48:31 +07:00
29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
---
|
|
metaLinks:
|
|
alternates:
|
|
- >-
|
|
https://app.gitbook.com/s/j6QEqM3Sd94bdPsX4HaN/faqs/known-issues/edge-stacks-do-not-support-authenticating-to-deploy-applications-from-private-registries
|
|
---
|
|
|
|
# Edge stacks do not support authenticating to deploy applications from private registries
|
|
|
|
{% hint style="info" %}
|
|
**Affected versions:** 2.14.2 and previous
|
|
|
|
**Fixed in:** 2.15.0 and above
|
|
{% endhint %}
|
|
|
|
#### Issue Description
|
|
|
|
When using Edge Stacks to deploy services from a private repository, images are not able to be pulled.
|
|
|
|
#### Fix
|
|
|
|
Update Portainer to 2.15.0 or above.
|
|
|
|
#### Workaround 
|
|
|
|
Deploy a [Docker registry container](https://hub.docker.com/_/registry), put it in ["cache" mode](https://docs.docker.com/registry/recipes/mirror/), and configure it to authenticate using your Docker Hub credentials. Locally to the edge device, it pulls from the cache locally as anonymous, but the cache knows how to retrieve from a secure repository.
|
|
|
|
This workaround only applies for Docker Hub, and does not work for other registries such as AWS ECR.
|