-
Notifications
You must be signed in to change notification settings - Fork 138
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
[openSUSE] docker start failure: recent Leap15.1 & Tumbleweed #2032
Comments
I now see the same thing in Leap15.1, unfortunately. |
@FroggyFlox Nice find and quite timely. Just as well they have now harmonised. |
On a side note, the daemon.json file seems to come back with subsequent OpenSUSE updates, too. I had renamed it a week ago, and with the latest updates to the distro it showed up again (that might be normally expected, but I was surprised) - this was in Tumbleweed, which mostly is updated with the sudo zypper dup, and that might be the reason ... don't know enough about the package update process |
Oh very good point, @Hooverdan96! I didn't think of that, but that makes a very compelling reason to rework our way of configuring the docker daemon. As you can read in #2088, I just started working on using the It also comforts me in using a separate json file (separate than Thanks a lot! |
[openSUSE] configure docker daemon using json configuration file. Fixes #2032 #2088 Source given daemon.json to create docker-daemon.json to facilitate Rockstor required configuration. Replaces, in openSUSE variants only, the prior docker Python wrapper which recently broke re systemd docker process management.
In more recent versions of openSUSE Tumbleweed the introduction of the "/etc/docker/daemon.json" file conflicts with our following docker wrapper command line:
as the referenced file, added in newer Tumbleweed docker ce updates specifies it's own value for this option:
resulting in the following system error:
"
'unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file:
log-driver: (from flag: journald, from file: json-file)
"
Harmonising these options seems not to help as it is that the options are in both places.
By way of a work around prior to providing a fix for this situation developers / alpha testers are encouraged for the time being to rename this file to return prior expected behaviour:
We need a consensus on how we deal with this situation and still maintain compatibility with
Leap 15.1 and hopefully alsoCentOS, at least for the time being.The text was updated successfully, but these errors were encountered: