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

please update docker version #214

Closed
borkmann opened this issue Nov 27, 2018 · 20 comments
Closed

please update docker version #214

borkmann opened this issue Nov 27, 2018 · 20 comments

Comments

@borkmann
Copy link

Current version seems to be docker 17.03 which doesn't support multi-stage builds (starting from 17.06), so for docker build I'm getting an error with Error parsing reference: [...] is not a valid repository/tag: invalid reference format. :-(

@markns
Copy link

markns commented Nov 27, 2018

+1 here, I was trying to rebuild kaniko and ran into this:

Step 15/29 : COPY --from=0 /go/src/github.com/GoogleContainerTools/kaniko/out/executor /kaniko/executor
Unknown flag: from

@adam-stokes
Copy link

FYI: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1794396

Still going through proposed in xenial, shouldn't be long though

@marcoceppi
Copy link
Contributor

It's a snap, why do we have to wait for Debian packaging?

@kitepad
Copy link

kitepad commented Dec 9, 2018

When is ready? I see the fix has been released at Nov. , but I still got 17.03.2 after I installed microk8s today.
Why?

@kitepad
Copy link

kitepad commented Dec 10, 2018

My ubuntu is 18.04.

@ktsakalozos
Copy link
Member

ktsakalozos commented Dec 10, 2018

Hi @kitepad

The snap is build on Ubuntu Core 16 as a base, meaning it is close to xenial 16.04.

Thanks.

@andriy-f
Copy link

andriy-f commented Dec 11, 2018

@ktsakalozos Is it possible to base a snap on Core 18?
https://forum.snapcraft.io/t/ubuntu-core-18/5169

@ktsakalozos
Copy link
Member

@andriy-f , yes It is possible to base the snap on core18. You need to edit snapcraft.yaml https://github.com/ubuntu/microk8s/blob/master/snapcraft.yaml and add a "base: core18" and rebuild. Some initial testing shows that the snap is functional but I have not tested it thoroughly. Do you want to give it a try and provide some feedback?

@dmarkey
Copy link

dmarkey commented Dec 12, 2018

This would be great.. I'd like to roll this out but blocked on the docker version.

@kitepad
Copy link

kitepad commented Dec 14, 2018

@ktsakalozos, it is has been fixed : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1794396

but still is 17.03 after I install microk8s today.

@adam-stokes
Copy link

microk8s snap needs to be rebuilt so it'll pick up the new docker. We have a job that does this automatically and shouldn't be much longer

@ktsakalozos
Copy link
Member

A build with the 18.06 dockerd is already on edge (sudo snap install microk8s --classic --edge). Please give it a try.

Thanks

@dmarkey
Copy link

dmarkey commented Dec 14, 2018

Two problems:

Invalid image name:

Warning InspectFailed 76s (x3 over 78s) kubelet, dmarkey-workstation Failed to apply default image tag "gcr.io/google_containers/defaultbackend-:1.4": couldn't parse image reference "gcr.io/google_containers/defaultbackend-:1.4": invalid reference format

➜ ~ microk8s.enable metrics-server
Enabling metrics-server
/snap/microk8s/354/usr/bin/dpkg: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory

(but still seems to work)

@dmarkey
Copy link

dmarkey commented Dec 14, 2018

UPDATE: Once i install the libselinux on my host it started to work. (shouldnt all dependencies be in the snap?)

@ktsakalozos
Copy link
Member

You are right @dmarkey, all dependencies should be in the snap. The fall back should be the host system. It is not a good time for me to debug this but I need to ask, which distro are you on?

@dmarkey
Copy link

dmarkey commented Dec 14, 2018

Arch \o/

@ktsakalozos
Copy link
Member

I knew it!

@frol
Copy link

frol commented Jan 2, 2019

@dmarkey yay -S libselinux did the trick! Thank you! \o/

@joestringer
Copy link
Contributor

I don't think this applies any more with microk8s 1.14, which uses containerd by default.

@ktsakalozos
Copy link
Member

Closing this since we moved to the latest containerd (1.14+) and docker packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants