docker-swarm-aws-ecr-auth
docker-swarm-aws-ecr-auth copied to clipboard
Question: how should the shell-aws container's 'docker' user get access?
When we ssh into the manager to deploy a service we connect into the shell-aws container as the docker user. Attempts to pull an image from here fail, it seems to be because /home/docker/.docker/config.json isn't being updated whereas /root/.docker/config.json is.
Does it make sense to alter the script to copy and chown /root/.docker/config.json to /home/docker/.docker/config.json?