Aaron Lehmann df9758ba39 Add a read-only mode as a configuration option
Add "readonly" under the storage/maintenance section. When this is set
to true, uploads and deletions will return 503 Service Unavailable
errors.

Document the parameter and add some unit testing.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-09-22 15:47:48 -07:00
Description
No description provided
20 MiB
Languages
Go 97.8%
Shell 1.7%
Dockerfile 0.2%
Makefile 0.2%