-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Fixies dockerd #22278
Fixies dockerd #22278
Conversation
ping @jfrazelle |
When did the name change? Sorry I'm super behind on the repo. Looks good to On Sunday, April 24, 2016, Antonio Murdaca [email protected] wrote:
Jessie Frazelle |
@jfrazelle changed here: #20639 |
don't we fix doc related changes for that binary change ? |
👍 |
I guess the other init scripts also need to be modified? https://github.com/docker/docker/tree/master/contrib/init |
I didn't because I've honestly no expertise :/ could be done in a follow up I guess |
I guess I can grep for |
updated, ping @tianon |
Given that the value for |
@mlaventure where are those files |
@@ -2,9 +2,9 @@ | |||
# Copyright 1999-2013 Gentoo Foundation | |||
# Distributed under the terms of the GNU General Public License v2 | |||
|
|||
command="${DOCKER_BINARY:-/usr/bin/docker}" | |||
command="${DOCKER_BINARY:-/usr/bin/dockerd}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure what we ought to do here -- if folks have an existing /etc/conf.d/docker
, then this means that their DOCKER_BINARY
entry now needs to change to point to dockerd
instead, so I think we should probably rename the var to make this really explicit and clear (and update docker.confd
appropriately).
updated @tianon @mlaventure PTAL |
@@ -7,7 +7,7 @@ | |||
#DOCKER_PIDFILE="/run/docker.pid" | |||
|
|||
# where the docker daemon itself is run from | |||
#DOCKER_BINARY="/usr/bin/docker" | |||
DOCKER_BINARY="/usr/bin/dockerd" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I meant we should rename this to be DOCKERD_BINARY
instead, so that if someone has an existing file, their DOCKER_BINARY
setting won't be used as if it were dockerd
to poor effect.
There are a few files that'd need to be updated if we decide to use The easiest way to find them is to run: |
@runcom we merged some stuff about |
@LK4D4 I don't think so as long as it's always installed into /usr/bin/ as dockerd :) |
looks like doc stuff for dockerd has been updated here #22386 ping @thaJeztah |
@runcom thanks for the ping, was already looking at that :-) we probably need to update the completion scripts as well? |
ping @thaJeztah @runcom made me realize on #22519 that this was still open. Do we still want to have the completion scripts updated as part of this PR? P.S: It needs a rebase btw |
@mlaventure no, I'm fine with doing that in a separate PR (unless @runcom wants to do it here). Perhaps we should create a tracking issue with all that's left for 1.12 to fix related to the |
Yes I missed pushing my changes, will do |
LGTM |
ping @tianon |
@@ -107,7 +107,7 @@ case "$1" in | |||
--pidfile "$DOCKER_SSD_PIDFILE" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the DOCKER
var in the line above this should be DOCKERD
now 😄 (both here, at the top of this file, and in sysvinit-debian/docker.default
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, and in upstart/docker.conf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
damn me :) thx for checking again
@@ -8,7 +8,7 @@ | |||
# | |||
|
|||
# Customize location of Docker binary (especially for development testing). | |||
#DOCKER="/usr/local/bin/docker" | |||
DOCKERD="/usr/bin/dockerd" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I think this is the last one -- this should still be /usr/local/bin/dockerd
and should be commented out by default. 😇
Signed-off-by: Antonio Murdaca <[email protected]>
@tianon updated again |
Very nice, LGTM 👍 ❤️ |
LGTM |
dockerd
instead ofdocker daemon
in systemd unit fileExecStart