Skip to content
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

support dockerd and docker daemon in unit files #704

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

grantholly
Copy link

Using docker daemon has been deprecated since docker v1.13. This means that if you are using a recent version of docker, the unit files for upstart and systemd call the deprecated binary that is not installed. However, for people running older versions of docker, using docker daemon is correct. In this pull request I am adding support for people using dockerd. Here is a related issue #701.

…where systemd cannot start contemporary versions of docker with the docker unit file because it calls out the now deprecated `docker dameon`
@Morsicus
Copy link
Contributor

Works well on docker >= v1.12.1

@vide
Copy link

vide commented Aug 2, 2017

I'm no mantainer but, couldn't this be more easily done just assigning proper default values in params.pp to docker::service::docker_command and docker::service::daemon_subcommand ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants