Cannot pull images from Docker Hub registry
After adding registry credentials in Docker, when I try and pull an image down as a service deploys, the container fails to start stating that "no image was found" in my registry.
Posted by Marcus Polini over 2 years ago
Permission denied when accessing secrets
I'm using a public container image and am trying to access secrets in the service. I've added secrets to the Docker environment, and then updated the service to use these secrets. ``` Docker secret: FB_TOKEN // ****** Service secret configuration: FB_TOKEN // FB_TOKEN.secret ``` The `FB_TOKEN.secret` file is available at /var/run/secrets/ at runtime but when the application attempts to access the secret, **permission is denied**. The Dockerfile for the container image has configured: `USER root` `USER 1000` Please advise.
Posted by Marcus Polini almost 3 years ago