-
Notifications
You must be signed in to change notification settings - Fork 119
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
Daemon JSON configuration default-ulimits not working #1513
Comments
Thanks for your report! I think you've uncovered a number of issues.
Finally, in investigating your issue, I found a number of other defects related to custom Thanks a lot for your extremely productive report! I'm going to close this issue as the fundamental problem appears to be a defect in the upstream docker project. Please subscribe to moby/moby#32528 for further updates. Thanks! |
@dsheets thank you very much 👍 😃 |
What led me to an error without careful reading when using the daemon command line versus using the json configuration file: some of the options are plural for json since you pass kwargs, and singular for daemon since you pass discrete option and value pairs. For example, 'log-opt' for the daemon becomes 'log-opts' (passing a {}) in daemon.json, and 'default-ulimit' for the daemon becomes 'default-ulimits' (passing a {}) in daemon.json. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Docker starts with default ulimits set.
Actual behavior
Docker for Mac is stuck on "starting" when I attempt to set the daemon JSON configuration.
Information
I'm on Edge right now but I got the same results with Stable.
I don't get to the point of using a Dockerfile. This is the Docker daemon failing to start.
Steps to reproduce the behavior
I got this configuration from the source code at: https://github.com/docker/docker/blob/f3a8886d8890d6797a568ab316baf9400ee2e1e1/daemon/config/config_unix_test.go#L20-L33
The text was updated successfully, but these errors were encountered: