-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: add json schema to validate the daemon settings #1922
Comments
This change would be in the moby repository (which is where the daemon CLI lives), but yes, I definitely agree we need something for this. From moby/moby#34093 (comment)
Some related issues;
|
One thing to take into account is daemon upgrades/downgrades may invalidate existing configuration files; we should either "error", or "warn" on those |
Hey there, could I have a go at this? |
@jcsirot did you already have a json-schema created? ^^ |
Well, I don't know. Maybe you wanted to ask @jdrouet :-D |
For anyone like me looking for something to help write the daemon.json file, I found this: https://json.schemastore.org/dockerd.json I'm not sure how accurate it is so YMMV |
Description
In docker cli, we already embed a json schema for docker compose, maybe we should have one also for the daemon settings.
Describe the results you expected:
Have a JSON Schema file with the settings definition
The text was updated successfully, but these errors were encountered: