Skip to content

Update install.sh to set "experimental" to true if needed#27788

Closed
mlaventure wants to merge 1 commit intomoby:masterfrom
mlaventure:experimental-install-script
Closed

Update install.sh to set "experimental" to true if needed#27788
mlaventure wants to merge 1 commit intomoby:masterfrom
mlaventure:experimental-install-script

Conversation

@mlaventure
Copy link
Contributor

Signed-off-by: Kenfe-Mickael Laventure mickael.laventure@gmail.com

This is a very conservative approach. We only update /etc/docker/daemon.json if it doesn't exist yet.

hack/install.sh Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this one not supposed to be here ? 😝

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nop, I was debugging 😅

@vdemeester
Copy link
Member

/cc @tianon ptal 👼

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
@mlaventure mlaventure force-pushed the experimental-install-script branch from fb8e17a to 2698479 Compare October 26, 2016 16:19
@mlaventure
Copy link
Contributor Author

Actually, this may need to be done in the .deb/rpm since I think they start the daemon as soon as the install is done.

cc @andrewhsu @tianon

@vieux
Copy link
Contributor

vieux commented Nov 8, 2016

@andrewhsu @tianon please take a look :)

@tianon
Copy link
Member

tianon commented Nov 8, 2016

I'm personally -1 and would rather we document this well (and perhaps have the script link directly to the relevant section of the documentation for how to enable this).

Is this one of the configuration items supported for live daemon configuration reload, or does this require a full daemon restart when changed?

@vieux
Copy link
Contributor

vieux commented Nov 8, 2016

If I'm not mistaken, for now it requires a full daemon restart

@mlaventure
Copy link
Contributor Author

It requires a full restart indeed.

We could just add a message at the end stating that the option needs to be
added either to the service file or the daemon configuration file.

On Mon, Nov 7, 2016 at 6:32 PM Victor Vieux notifications@github.com
wrote:

If I'm not mistaken, for now it requires a full daemon restart


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#27788 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/APUifmozd4yXXXP63wdMwFfv3IptD2XRks5q799AgaJpZM4KhW8_
.

@andrewhsu
Copy link
Contributor

@mlaventure yes, daemon.json should probably be a change in the postinstall step of deb and rpm packages that are built when DOCKER_EXPERIMENTAL=1 is set instead of a change in install.sh.

@mlaventure
Copy link
Contributor Author

Alright, closing this then.

@mlaventure mlaventure closed this Nov 9, 2016
@mlaventure mlaventure deleted the experimental-install-script branch November 9, 2016 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants