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

Upgrade to Docker 17.06-ce #1542

Merged
merged 9 commits into from
Oct 19, 2017
Merged

Upgrade to Docker 17.06-ce #1542

merged 9 commits into from
Oct 19, 2017

Conversation

bryanlarsen
Copy link
Contributor

This is an attempt to address #1518. It does actually fix #1518, but breaks much of Kubernetes. :) Don't merge this, I'm just creating a PR that people can play with if they're interested in taking it further.

This is an attempt to address kubernetes#1518.   It does actually fix kubernetes#1518, but breaks much of Kubernetes.   :)   Don't merge this, I'm just creating a PR that people can play with if they're interested in taking it further.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 31, 2017
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@bryanlarsen
Copy link
Contributor Author

One reason it doesn't work: kubernetes/kubernetes#40182. There are probably others.

@codecov-io
Copy link

codecov-io commented May 31, 2017

Codecov Report

Merging #1542 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1542      +/-   ##
=========================================
- Coverage   28.92%   28.9%   -0.02%     
=========================================
  Files          81      81              
  Lines        5311    5311              
=========================================
- Hits         1536    1535       -1     
- Misses       3582    3583       +1     
  Partials      193     193
Impacted Files Coverage Δ
pkg/util/kubeconfig/config.go 46.93% <0%> (-0.69%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f08a3f...c7f0344. Read the comment docs.

@dlorenc
Copy link
Contributor

dlorenc commented May 31, 2017

@minikube-bot ok to test

Just to make sure our tests catch the failures :)

@bryanlarsen
Copy link
Contributor Author

Jenkins put the ISO URL at https://storage.googleapis.com/minikube-builds/1542/minikube-testing.iso if anybody wants to try this without compiling it.

@bryanlarsen
Copy link
Contributor Author

It's actually working fairly well for me now.

@imkin
Copy link

imkin commented Jul 13, 2017

@bryanlarsen any updates on this one?

@dlorenc
Copy link
Contributor

dlorenc commented Jul 13, 2017

We're not going to be able to take this until Kubernetes upstream is tested and verified against Docker 17.05. The current highest is 1.12.6: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#external-dependency-version-information

@kilianc
Copy link

kilianc commented Jul 28, 2017

If you are stuck with this, you can preview the custom ISO with:

$ gsutil cp gs://minikube-builds/1542/minikube-darwin-amd64 ~/.bin/minikube
$ minikube start --iso-url=https://storage.googleapis.com/minikube-builds/1542/minikube-testing.iso

Works perfectly for me! 🍻

@bryanlarsen bryanlarsen changed the title Upgrade to Docker 17.05-ce Upgrade to Docker 17.06-ce Aug 1, 2017
@bryanlarsen
Copy link
Contributor Author

I've upgraded this PR to use 17.06-ce rather than 17.05-ce since that's long term stable. I also merged in master to get Kube 1.7.

Unfortunately, this now requires using a new minikube executable as well as using a new ISO. Does Jenkins stash the minikube executable somewhere convenient for others to access, in a manner similar to how it stashes the iso at https://storage.googleapis.com/minikube-builds/1542/?

@dlorenc
Copy link
Contributor

dlorenc commented Aug 1, 2017

Unfortunately, this now requires using a new minikube executable as well as using a new ISO. Does Jenkins stash the minikube executable somewhere convenient for others to access, in a manner similar to how it stashes the iso at https://storage.googleapis.com/minikube-builds/1542/?

Yeah all the exe's should be in that same location:

$ gsutil ls gs://minikube-builds/1542/
gs://minikube-builds/1542/build_iso.sh
gs://minikube-builds/1542/common.sh
gs://minikube-builds/1542/e2e-darwin-amd64
gs://minikube-builds/1542/e2e-linux-amd64
gs://minikube-builds/1542/e2e-windows-amd64.exe
gs://minikube-builds/1542/linux_integration_tests_kvm.sh
gs://minikube-builds/1542/linux_integration_tests_kvm_alt.sh
gs://minikube-builds/1542/linux_integration_tests_none.sh
gs://minikube-builds/1542/linux_integration_tests_virtualbox.sh
gs://minikube-builds/1542/localkube
gs://minikube-builds/1542/minikube-darwin-amd64
gs://minikube-builds/1542/minikube-linux-amd64
gs://minikube-builds/1542/minikube-testing.iso
gs://minikube-builds/1542/minikube-testing.iso.sha256
gs://minikube-builds/1542/minikube-windows-amd64.exe
gs://minikube-builds/1542/minikube.iso
gs://minikube-builds/1542/minikube.iso.sha256
gs://minikube-builds/1542/minikube_cross_build_and_upload.sh
gs://minikube-builds/1542/minikube_set_pending.sh
gs://minikube-builds/1542/osx_integration_tests_virtualbox.sh
gs://minikube-builds/1542/osx_integration_tests_xhyve.sh
gs://minikube-builds/1542/print-debug-info.sh
gs://minikube-builds/1542/release_build_and_upload.sh
gs://minikube-builds/1542/release_github_page.sh
gs://minikube-builds/1542/release_update_installers.sh
gs://minikube-builds/1542/release_update_releases_json.sh
gs://minikube-builds/1542/windows_integration_test_hyperv.ps1
gs://minikube-builds/1542/testdata/

boz added a commit to boz/circumspect that referenced this pull request Sep 8, 2017
@derailed
Copy link

Hi - any updates on this issue? We need to run docker multistage and kind of stuck at the moment.

@bryanlarsen
Copy link
Contributor Author

We don't use this PR any more. What we do is we create a VM manually, install the docker 17.06 and then install minikube with --vm-driver=None

@derailed
Copy link

derailed commented Sep 20, 2017 via email

@agadelshin
Copy link

https://storage.googleapis.com/minikube-builds/1542/minikube-testing.iso

this ISO doesn't work for me because of ExecStart string in /usr/lib/systemd/system/docker.service. It tries to run "docker daemon" command, but it needs to use dockerd instead.

@medyagh
Copy link
Member

medyagh commented Oct 13, 2017

any plan to support multistage build in minikube anytime soon ? does anyone know?

@dlorenc
Copy link
Contributor

dlorenc commented Oct 13, 2017

Once we get k8s 1.8 merged we should be able to upgrade Docker. Old versions of k8s did not support the versions of docker that have multi-stage builds.

@medyagh
Copy link
Member

medyagh commented Oct 18, 2017

@dlorenc thanks do you have the link for the PR so I can watch it ?
and also do you know if that means the new docker in minikube will only work for kuberentes 1.8 ? could I have k8s 1.7 and new version of docker?

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 19, 2017
@r2d4
Copy link
Contributor

r2d4 commented Oct 19, 2017

Hope you don't mind but I resolved the merge conflicts since they were basically a no-op. I would like to get this merged soon now that we are on 1.8

@centromere
Copy link

At this point, why not use 17.09?

Copy link
Contributor

@r2d4 r2d4 left a comment

Choose a reason for hiding this comment

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

We should get out an ISO release with this soon.

@r2d4
Copy link
Contributor

r2d4 commented Oct 19, 2017

@centromere we only like to use the versions that are official vetted by k8s. I don't think 17.09 is fully tested against 1.8 clusters yet. However, it might be useful to expose some functionality to fetch arbitrary docker versions.

@r2d4 r2d4 merged commit 57e091d into kubernetes:master Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update docker version in minikube iso - possible?