-
-
Notifications
You must be signed in to change notification settings - Fork 794
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
-g and --graph flags on dockerd are deprecated in favor of --data-root #957
Comments
Fixed in 72edd8d |
The removal of --graph has broken the docker version that is provided by RHEL/CentOS 7, I'd suggest some logic in there instead of just dropping the flag. Unless the intent is not to support the built in version of docker on CentOS. |
Still broken for CentOS 7, any work around? |
This also breaks any RHEL 6 installations, since the latest Docker version for this is 1.7.1 which only supports "--graph". if node['platform_version'].start_with?('7')
data_root '/docker'
elsif node['platform_version'].start_with?('6')
misc_opts '--graph=/docker'
end |
Cookbook version
3.0.0
Chef-client version
12.18
Platform Details
Ubuntu 16.04.3 LTS
Scenario:
Remove warnings of deprecated features from dockerd minimum version 17.05.
Disabled by default in version 17.10
See: https://docs.docker.com/engine/deprecated/#-g-and---graph-flags-on-dockerd
Steps to Reproduce:
Install the docker service on the host with a
graph
value defined.On the converged host, login, use the command
journalctl -xe | grep deprecated
Expected Result:
No warnings from dockerd.
Actual Result:
Entry in systemd journal with the message from the dockerd
"The \"-g / --graph\" flag is deprecated. Please use \"--data-root\" instead"
The text was updated successfully, but these errors were encountered: