You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an authenticating registry is configured which cannot be used at the time that a stack is deployed or updated, the appropriate changes to Docker's state are not made, and an error message appears relating to whatever it is that is stopping the registry working.
This happens whether or not deploying the stack would need to access the registry. The compose file is created or updated, but no containers, networks, or volumes are created.
Invalid YAML in the compose file does not produce an error message, so presumably whatever is checking the registries is doing so quite early in the process.
Steps to reproduce the issue:
Add a registry - with a username and password - which will not work. e.g. Bad domain name; no registry running on it; credentials invalid.
Deploy or update any stack.
Instead of working, an error pops up, according to whatever is wrong with the registry.
Technical details:
Portainer version: 0.16.1
Target Docker version (the host/cluster you manage): 17.06.0-ce
Platform (windows/linux): Linux
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): I start it via docker compose - docker-compose.yml
Target Swarm version (if applicable): I don't know how to determine this, sorry.
Browser: Chrome 61
The text was updated successfully, but these errors were encountered:
Right, this is due to the fact that we use the embedded Docker binary to deploy stacks. A work-around this might be to simply ignore any docker login errors before deploying a stack.
Description
If an authenticating registry is configured which cannot be used at the time that a stack is deployed or updated, the appropriate changes to Docker's state are not made, and an error message appears relating to whatever it is that is stopping the registry working.
This happens whether or not deploying the stack would need to access the registry. The compose file is created or updated, but no containers, networks, or volumes are created.
Invalid YAML in the compose file does not produce an error message, so presumably whatever is checking the registries is doing so quite early in the process.
Steps to reproduce the issue:
Instead of working, an error pops up, according to whatever is wrong with the registry.
Technical details:
docker run -p 9000:9000 portainer/portainer
): I start it via docker compose - docker-compose.ymlThe text was updated successfully, but these errors were encountered: