# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/faqs/known-issues/edge-stacks-do-not-support-authenticating-to-deploy-applications-from-private-registries.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
