-
Notifications
You must be signed in to change notification settings - Fork 301
docs: Pin docker to version 18.06 #374
docs: Pin docker to version 18.06 #374
Conversation
ee7fa79
to
c9d6f59
Compare
And now for the caveats...
/cc @egernst. |
/test |
c9d6f59
to
85dc9c7
Compare
Some of the CI builds are failing with: Cloning into 'tests'...
/home/centos/tests/.ci/lib.sh: line 19: GOPATH: unbound variable |
/retest |
Fedora CI: [kata-containers-documentation-fedora-PR] $ /bin/bash /tmp/jenkins7239932866990890670.sh
Cloning into 'tests'...
/home/fedora/tests/.ci/lib.sh: line 19: GOPATH: unbound variable
Build step 'Execute shell' marked build as failure
Setting status of 85dc9c7d17f69987e7512e9395e5ff7e4c8e4e06 to FAILURE with url http://jenkins.katacontainers.io/job/kata-containers-documentation-fedora-PR/50/ and message: 'Build finished. '
Using context: jenkins-ci-fedora
Finished: FAILURE CentOS CI: [kata-containers-documentation-centos-7-4-PR] $ /bin/bash /tmp/jenkins1058249980225164497.sh
Cloning into 'tests'...
/home/centos/tests/.ci/lib.sh: line 19: GOPATH: unbound variable
Build step 'Execute shell' marked build as failure
Setting status of 85dc9c7d17f69987e7512e9395e5ff7e4c8e4e06 to FAILURE with url http://jenkins.katacontainers.io/job/kata-containers-documentation-centos-7-4-PR/56/ and message: 'Build finished. '
Using context: jenkins-ci-centos-7-4
Finished: FAILURE |
Blocked on kata-containers/tests#1134, which should fix the |
This PR is effectively also blocked on kata-containers/tests#1136 I think as we need to tweak the CI scripts to remove docker between running each documentation test. |
|
||
```bash | ||
$ sudo zypper -n install libcgroup1 | ||
$ sudo zypper -n install docker | ||
$ sudo zypper -n install -f docker-18.06.1_ce-51.1 |
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.
Another neat way to do this without hard coding a specific docker version is:
docker -n install docker<18.09'
This is going to work on SLES too.
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.
Thanks @marcov - I've updated the branch for opensuse + sles.
@jodh-intel tested on OpenSuse and it is working, I do not have a license anymore of RHEL. |
@jodh-intel fyi the docker packages for SUSE/SLE are built with a custom commands, and the |
kata-containers/tests#1134 merged Now I see this error:
|
@chavafg - yep, I need to update the doc CI tests on this PR to remove docker between running each doc test now that kata-containers/tests#1136 is merged... |
85dc9c7
to
a20e46b
Compare
/test |
a20e46b
to
09f7479
Compare
@fatherlinux, @mrguitar, @lsm5 - could you provide any input from the RHEL perspective? We don't have licenses any more and therefore cannot test updates to the RHEL install docs here. |
/retest |
Now blocked on kata-containers/tests#1144. |
/test |
/retest |
09f7479
to
7a49371
Compare
/retest |
Yeah, I think that is because we don't check that $HYPERVISOR or ARCH or similar is not "" before we try to deref it and find the filter file. That occurred to me as I saw the PR fly by earlier in the week. @GabyCT - can we add a null/non-exist check to avoid that pls? |
hmm, maybe I need to enable github ack checks on this repo..... can I get an ack from @marcov maybe before we actually press the button? |
fa23540
to
a9ce5ff
Compare
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.
@jodh-intel - this looks good to me. Hopefully we'll be able to get this fixed soon and move to latest.
Quick question @jodh-intel - Any reason why we don't install as shown below, which supports several distros, other than friends don't let friends do
|
also 18.06.2 vs 18.06.1 in the current changes to use the one patched for the runc CVE? |
@jodh-intel please rebase this PR. |
a9ce5ff
to
31dd5eb
Compare
Docker 18.09 removed devicemapper support but did not provide an alternative. This can cause problems for users so update the install docs to install Docker at version 18.06 (the last version that supports devicemapper). This is a temporary solution until either docker provide an alternative or we find a way to work around the Docker feature being removed. Note the extra logic required for Fedora since 18.06 is not available for that release. Fixes kata-containers#373. Signed-off-by: James O. D. Hunt <[email protected]>
31dd5eb
to
ceae7b4
Compare
@jcvenegas - branch updated. @krsna1729 - Updated for 18.06.2. Regarding your comment about using get.docker.com, that needs a lot more discussion and is not appropriate for this PR imho. You are of course free to install docker how you wish. However, although the get.docker.com approach is convenient, I'm not convinced many users would be happy running an opaque script downloaded off the web as If you wish to raise a PR using the get.docker.com approach, we can maybe force the issue and get more input from the rest of the community. |
Ping @kata-containers/documentation - The dnm was added by @grahamwhaley to get an extra review or two I think but this should have landed long ago. Please review. |
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.
Scrubbed for grammar, structure, and flow. One suggested line rewrite the is duplicated in the Notes section. Thanks!
> - This step is only required if Docker is not installed on the system. | ||
> - Newer versions of Docker have | ||
> [removed devicemapper support](https://github.com/kata-containers/documentation/issues/373) | ||
> so the commands below install the latest version which includes |
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.
Suggested rewrite:
so the following commands install the latest version, which includes
> - This step is only required if Docker is not installed on the system. | ||
> - Newer versions of Docker have | ||
> [removed devicemapper support](https://github.com/kata-containers/documentation/issues/373) | ||
> so the commands below install the latest version which includes |
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.
Suggested rewrite:
so the following commands install the latest version, which includes
> - This step is only required if Docker is not installed on the system. | ||
> - Newer versions of Docker have | ||
> [removed devicemapper support](https://github.com/kata-containers/documentation/issues/373) | ||
> so the commands below install the latest version which includes |
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.
Suggested rewrite:
so the following commands install the latest version, which includes
> - This step is only required if Docker is not installed on the system. | ||
> - Newer versions of Docker have | ||
> [removed devicemapper support](https://github.com/kata-containers/documentation/issues/373) | ||
> so the commands below install the latest version which includes |
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.
Suggested rewrite:
so the following commands install the latest version, which includes
> - This step is only required if Docker is not installed on the system. | ||
> - Newer versions of Docker have | ||
> [removed devicemapper support](https://github.com/kata-containers/documentation/issues/373) | ||
> so the commands below install the latest version which includes |
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.
Suggested rewrite:
so the following commands install the latest version, which includes
> - This step is only required if Docker is not installed on the system. | ||
> - Newer versions of Docker have | ||
> [removed devicemapper support](https://github.com/kata-containers/documentation/issues/373) | ||
> so the commands below install the latest version which includes |
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.
Suggested rewrite:
so the following commands install the latest version, which includes
Improved wording in docker installation Note based on review feedback. Signed-off-by: James O. D. Hunt <[email protected]>
@klynnrif - thanks for reviewing. Branch updated. @marcov - please tal (and remove the dnm label if you're happy ;) @grahamwhaley - did you originally ack (I think we didn't save the acks way back then)? Either way, could you tal? Ping @kata-containers/documentation - would be great to get this landed! |
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.
lgtm
dropping the dnm. I think you will need @klynnrif to ack to clear the change request.... |
Docker 18.09 removed devicemapper support but did not provide an
alternative. This can cause problems for users so update the install
docs to install Docker at version 18.06 (the last version that supports
devicemapper).
This is a temporary solution until either docker provide an alternative
or we find a way to work around the Docker feature being removed.
Fixes #373.
Signed-off-by: James O. D. Hunt [email protected]