Comments (10)
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.
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.
Done, its here:
#7
from raspbernetes.
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.
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.
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.
Did you get any luck with this?
from raspbernetes.
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.
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.
Thanks for all this mate! Awesome stuff!
Fixed in #7.
from raspbernetes.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raspbernetes.