Open wiryonolau opened 4 years ago
If i use plain text in for REGISTRY_PASS i got this error
[12/21/2019] [2:59:05 AM] [Express ] › ⚠ warning URIError: URI malformed
at decodeURIComponent (<anonymous>)
at Url.parse (url.js:336:19)
at Object.urlParse [as parse] (url.js:146:13)
at new Request (/app/node_modules/restler/lib/restler.js:22:18)
at request (/app/node_modules/restler/lib/restler.js:322:17)
at Object.get (/app/node_modules/restler/lib/restler.js:329:9)
at Promise (/app/src/backend/lib/docker-registry.js:44:18)
at new Promise (<anonymous>)
at module.exports.getImages (/app/src/backend/lib/docker-registry.js:43:16)
at Object.getAll (/app/src/backend/internal/repo.js:111:25)
I hope this pull request helps you, actually docker secrets didn't work if you don't implement it in your image because secrets are loaded from a file and you are trying to load a file content in a ENV variable but what you are doing is mapping a path not the content itself. So if this pull request gets approved you should use
- REGISTRY_PASS_FILE=/run/secrets/registry.password
instead of
- REGISTRY_PASS=/run/secrets/registry.password
Hi, Is possible to use docker secrets to pass REGISTRY_PASS ?
I got "Internal Error There may be a problem communicating with the Registry" when accessing from browser. registry-ui container can telnet to registry normally on port 5000
Here is my compose file
registry last log
docker-registry-ui log when accesing from browser