Comments (8)
It's a matter of updating defaults to the latest versions (see https://github.com/geerlingguy/ansible-role-docker_arm#role-variables) — that could be done fairly easily in a PR, but someone needs to get the exact values to update them all.
from ansible-role-docker_arm.
OK understood, but I never did that before :-(
I don't know how to create a PR and even before I tried to get the correct version numbers, but I failed (didn't find the right place to look for)... sorry, total noob here....
from ansible-role-docker_arm.
Just pushed an update for the latest version on Debian 10 64-bit Pi OS.
@cybermcm - Can you run apt-cache madison docker-ce
on your Pi to see what version strings are available? Also uname -a
to get the platform architecture.
from ansible-role-docker_arm.
That I can do, thanks for taking time to look into it:
docker-ce | 5:20.10.10~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.9~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.8~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.7~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.6~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.5~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.4~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.3~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.2~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.1~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:20.10.0~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.15~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.14~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.13~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.12~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.11~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.10~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.9~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.8~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.7~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.6~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.5~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.4~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.3~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.2~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
docker-ce | 5:19.03.1~3-0~raspbian-buster | https://download.docker.com/linux/raspbian buster/stable armhf Packages
uname -a
Linux mail 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux
from ansible-role-docker_arm.
I've been getting the latest version and storing it in a var and then running jeff's role
- name: Get latest Docker CE version
shell: apt list -a docker-ce | head -n 2 | tail -1 | awk '{print $2}'
changed_when: false
register: docker_ce_latest
- set_fact:
docker_ce_latest: '{{docker_ce_latest.stdout}}'
- import_role:
name: geerlingguy.docker_arm
vars:
docker_version_armv6: '{{docker_ce_latest}}'
docker_version_armv7: '{{docker_ce_latest}}'
docker_version_arm64: '{{docker_ce_latest}}'
PS: Sorry @geerlingguy if this is a bit hacky solution :)
from ansible-role-docker_arm.
I've realised this can not be done without running first the convenience script install or manually setting up the docker repo.
@geerlingguy I think the docker install convenience script installs already the latest version, would it be possible to make optional the step
- name: Make sure Docker CE is the version specified.
apt:
name: "docker-ce={{ docker_version }}"
state: present
force: true
install_recommends: "{{ docker_install_recommends }}"
I'm happy to raise a PR if you agree with this
from ansible-role-docker_arm.
@fernandopasik - I'd be okay with that, maybe set docker_version
default to latest
, and in this task, use a when
to say {{ docker_version is not 'latest' }}
(something like that).
from ansible-role-docker_arm.
Pushed a PR to avoid step when docker_version
is set to latest
from ansible-role-docker_arm.
Related Issues (20)
- Raspberry Pi OS - No package matching 'docker-ce' is available HOT 7
- Debian 9 CI tests failing due to lack of Python 3 HOT 4
- ubuntu-20.04.1-preinstalled-server-arm64+raspi supported? HOT 5
- Dryrun failing because of missing check_mode: no option in validation task HOT 8
- 'ERROR! no action detected in task.' when using 'docker_compose' HOT 4
- armv6 support HOT 3
- Error: /var/run/docker.sock: connect: permission denied HOT 2
- Installation failed on current Raspi OS (Debian 10.10) HOT 1
- Error: Make sure Docker CE is the version specified HOT 1
- not able to install docker-compose on rpi 4 64bit HOT 7
- problem with geerlingguy.docker_arm HOT 2
- Version check fails for bullseye as defaults are set to buster HOT 8
- Unable to uninstall docker HOT 3
- Installing in recent Raspberry Pi OS (2022-01-28) fails due to nftables HOT 2
- Installation failure with Docker 20.10.6 on Debian GNU/Linux 11 (bullseye) HOT 3
- Docker install script relocated HOT 3
- Install Docker Compose using Pip failes thanks to outdated Rust version 1.48 HOT 3
- Deprecate this role in favor of the regular docker role HOT 1
- The gpg keys on the get-docker.sh script dont work.
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 ansible-role-docker_arm.