Unable to use private container registry in Docker Swarm

Hi there, we are looking to deploy ShinyProxy (containerized) using Docker Swarm. We’ve added a private AWS ECR image registry in the docker compose step as well as the application.yml for ShinyProxy. Upon logging into ShinyProxy and starting the app, the error we get back is “no such image”. Any advice? We’re authenticating to AWS ECR on the host EC2 machine, so the docker compose step pulls down the app image successfully, but something is missing. Any tips?


It’s currently not possible to use Docker swarm with private registries. This is something we want to improve (see https://github.com/openanalytics/containerproxy/issues/52), but currently it’s not on our roadmap.

As an alternative you could pull the image yourself on your nodes.