-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
cluster up: remove hardcoded docker root mount #12744
cluster up: remove hardcoded docker root mount #12744
Conversation
@bparees ptal |
@@ -258,6 +259,7 @@ func (h *Helper) Start(opt *StartOptions, out io.Writer) (string, error) { | |||
binds = append(binds, fmt.Sprintf("%[1]s:%[1]s%[2]s", opt.HostVolumesDir, propagationMode)) | |||
} | |||
env = append(env, opt.Environment...) | |||
binds = append(binds, fmt.Sprintf("%[1]s:%[1]s", opt.DockerRoot)) |
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.
where's the /var/lib/docker mount that this is replacing?
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.
arrgh, didn't remove it. It's at the beginning of this file. Will update.
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.
updated
Uses the docker root retrieved from docker info to mount that into the origin container, instead of hardconding '/var/lib/docker'
d6f8478
to
08bfa3d
Compare
lgtm |
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13461/) (Image: devenv-rhel7_5825) |
Evaluated for origin merge up to 08bfa3d |
[Test]ing while waiting on the merge queue |
flake #11315 |
Evaluated for origin test up to 08bfa3d |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13461/) (Base Commit: 6b6610a) |
1 similar comment
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13461/) (Base Commit: 6b6610a) |
Uses the docker root retrieved from docker info to mount that into
the origin container, instead of hardconding '/var/lib/docker'
Fixes #12111