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

Add note about mount-propagation and engine 18.09+ #8001

Closed
wants to merge 1 commit into from

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Jan 11, 2019

@thaJeztah thaJeztah added area/engine Issue affects Docker engine/daemon OP/pending tech review labels Jan 11, 2019
@thaJeztah
Copy link
Member Author

ping @cpuguy83 @kolyshkin - not sure if I picked the right wording/terminology, so pls check 🤗

@thaJeztah thaJeztah requested a review from ahh-docker January 11, 2019 09:40
@GordonTheTurtle
Copy link

GordonTheTurtle commented Jan 11, 2019

Deploy preview for docsdocker ready!

Built with commit 02013e2

https://deploy-preview-8001--docsdocker.netlify.com

#### Important notes about this release

Docker Engine 18.09.0 and up install containerd as a separate systemd unit. Containerd
therefore uses its own mount-namespace. The Docker Engine cannot run succesfully
Copy link
Contributor

Choose a reason for hiding this comment

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

I think only it's own mount namespace in certain circumstances.

Copy link
Contributor

Choose a reason for hiding this comment

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

But the the issues is we don't want them to be in separate namespaces with non-shared propagation.

Copy link
Contributor

Choose a reason for hiding this comment

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

As long as it looks good to @thaJeztah I'm good with this.

Copy link
Contributor

@ahh-docker ahh-docker left a comment

Choose a reason for hiding this comment

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

@thaJeztah as long as this looks ok to you, we can go ahead and merge.

#### Important notes about this release

Docker Engine 18.09.0 and up install containerd as a separate systemd unit. Containerd
therefore uses its own mount-namespace. The Docker Engine cannot run succesfully
Copy link
Contributor

Choose a reason for hiding this comment

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

As long as it looks good to @thaJeztah I'm good with this.

@ahh-docker
Copy link
Contributor

@kolyshkin PTAL. Thanks!

@thaJeztah thaJeztah force-pushed the add_mountflags_warning branch from 11eb239 to dae7ec6 Compare January 25, 2019 16:40
@thaJeztah
Copy link
Member Author

updated 👍

### Security fixes for Docker Engine EE and CE
#### Important notes about this release

Docker Engine 18.09.0 and up install containerd as a separate systemd unit. Containerd
Copy link
Contributor

@cpuguy83 cpuguy83 Jan 25, 2019

Choose a reason for hiding this comment

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

This line is not technically accurate.

Maybe something like:

In Docker versions prior to 18.09, containerd was managed by the Docker engine daemon. In Docker Engine 18.09, containerd is managed by systemd. Since containerd is managed by systemd, any custom configuration to the docker.service systemd configuration which changes mount settings (e.g. MountFlags=slave) will break interactions between the Docker Engine daemon and containerd, and you will not be able to start containers.

Not perfect, but...

Copy link
Contributor

Choose a reason for hiding this comment

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

@thaJeztah PTAL and comment. thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

oh, sorry, missed @cpuguy83's comment. That suggestion looks good to me; I'll update my PR

@ahh-docker ahh-docker added area/release-notes Release Notes and removed OP/+7 days labels Jan 25, 2019
@thaJeztah thaJeztah force-pushed the add_mountflags_warning branch from dae7ec6 to 02013e2 Compare January 28, 2019 16:04
@thaJeztah
Copy link
Member Author

updated 👍

Copy link
Contributor

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@thaJeztah
Copy link
Member Author

Looks like these changes were already pushed directly to master in 4129dc0, so let's close this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issue affects Docker engine/daemon area/release-notes Release Notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

regression: When using Docker 18.09 on CentOS 7 and the devicemapper
4 participants