Code Monkey home page Code Monkey logo

Comments (10)

blabla1337 avatar blabla1337 commented on June 8, 2024 1

I ran it and it wants to install the 5:19.03.9~3-0~raspbian-stretch

I tried it on one Pi and seems to work, the Docker API error is gone.

from raspbernetes.

blabla1337 avatar blabla1337 commented on June 8, 2024 1

Yeah so before I couldn't run it and got the API error, then installed this version and after it the docker api / commands are working correctly

Indeed we can undo my commit and pin that version and should be good :)

from raspbernetes.

blabla1337 avatar blabla1337 commented on June 8, 2024 1

Done, its here:
#7

from raspbernetes.

lucasteligioridis avatar lucasteligioridis commented on June 8, 2024

I just did a quick search, can't seem to find a way to pin this version on install somewhere?

I wonder if something can be pinned?

I didn't receive this when I set this up, so just wondering what was not immutable.

I haven't got my Pi's setup at the moment, can you have a try with maybe switching the docker version? https://github.com/lucasteligioridis/raspbernetes/blob/master/raspbernetes/install/docker.sh#L4

According to this: kubernetes-sigs/kubespray#6160

Should be an easy fix with a change to the version of docker-ce=5:19.03.8~3-0~ubuntu-bionic. Will have to find the corresponding raspbian version, but I reckon try that first. It feels cleaner and then we can remove the exported DOCKER_API_VERSION variable from the configuration.

Thoughts?

from raspbernetes.

blabla1337 avatar blabla1337 commented on June 8, 2024

Hmm its not available?
root@rpi-kube-worker-02:/home/pi# sudo apt-get install docker-ce=5:19.03.83-0ubuntu-bionic docker-ce-cli=5:19.03.83-0ubuntu-bionic containerd.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '5:19.03.83-0ubuntu-bionic' for 'docker-ce' was not found

from raspbernetes.

lucasteligioridis avatar lucasteligioridis commented on June 8, 2024

Yep, like i said you'll have to find the raspbian version of this. The above was just an example of ubuntu.

You can try something like the below and grep the results.

apt-cache search docker-ce

from raspbernetes.

lucasteligioridis avatar lucasteligioridis commented on June 8, 2024

Did you get any luck with this?

from raspbernetes.

lucasteligioridis avatar lucasteligioridis commented on June 8, 2024

Awesome stuff! I reckon that should be pinned on the apt install and we won’t need the DOCKER_API variable anymore.

Did you have that set as well?

from raspbernetes.

lucasteligioridis avatar lucasteligioridis commented on June 8, 2024

Mind please raising a PR with exactly what you did in that install file? And undoing your commit.

Otherwise I’m happy to!

from raspbernetes.

lucasteligioridis avatar lucasteligioridis commented on June 8, 2024

Thanks for all this mate! Awesome stuff!
Fixed in #7.

from raspbernetes.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.