docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 877 forks source link

If STORAGE_PATH has no / prefix, it fails silently. #969

Open diranged opened 9 years ago

diranged commented 9 years ago

If you set STORAGE_PATH=foo rather than STORAGE_PATH=/foo, Docker Registry fails silently to search the path and generate the search index. This is extremely hard to troubleshoot. Its fine if we want to error out and force the user to add a /, but the current behavior is a bit broken because the rest of the registry works ... just the search index fails.

envygeeks commented 9 years ago

:+1: