Upgrade advice - upgrade from aarch64 to ARM64 image
-
I'm currently on version 26011. I understand that the aarch64 image is no longer supported. So, I therefore need to update to the ARM64 image. Can anyone possibly suggest how I update my docker compose.yaml file (see below). Ideally I'd like to keep my existing reactions etc. rather than start from scratch.
# Multi-System Reactor template docker-compose.yml (version 22160) # # Change the lines indicated by "DO"... # services: reactor: container_name: reactor environment: # DO change the TZ: line to set your local time zone. # See valid TZ list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones TZ: GB # # DO NOT change this path. Your directory location is in "source" below. REACTOR_DATA_PREFIX: /var/reactor # DO change the image below to the one you are using (e.g. armv7l or aarch64 for RPi 4) image: toggledbits/reactor:latest-aarch64 restart: "always" expose: - 8111 ports: - 8111:8111 volumes: # DO change the /home/username/reactor below to the directory you created for # your local data; DO NOT change the /var/reactor part - /home/pi/docker/reactor:/var/reactor - /etc/localtime:/etc/localtime:ro tmpfs: /tmp -
There's information in this earlier post to help you confirm that your OS is 64-bit capable (or not). Take a look at that first. You can report here what the
DEB_HOST_ARCHvalue is. -
So, in response to 'sudo dpkg-architecture -q DEB_HOST_ARCH' I get the following which I think is positive in that it confirms a 64bit architecture (I think):
/home/pi/docker/reactor$ sudo dpkg-architecture -q DEB_HOST_ARCH arm64In that case, once I have done a back-up, is it simply the case that I replace the following:
# DO change the image below to the one you are using (e.g. armv7l or aarch64 for RPi 4) image: toggledbits/reactor:latest-aarch64with:
# DO change the image below to the one you are using (e.g. armv7l or aarch64 for RPi 4) image: toggledbits/reactor:latest-arm64What is confusing me a little is that the exemplar docker compose .yaml 'volumes:' file structure is a bit different to my current .yaml file. Will this cause a problem?
Thanks.
-
So, in response to 'sudo dpkg-architecture -q DEB_HOST_ARCH' I get the following which I think is positive in that it confirms a 64bit architecture (I think):
/home/pi/docker/reactor$ sudo dpkg-architecture -q DEB_HOST_ARCH arm64In that case, once I have done a back-up, is it simply the case that I replace the following:
# DO change the image below to the one you are using (e.g. armv7l or aarch64 for RPi 4) image: toggledbits/reactor:latest-aarch64with:
# DO change the image below to the one you are using (e.g. armv7l or aarch64 for RPi 4) image: toggledbits/reactor:latest-arm64What is confusing me a little is that the exemplar docker compose .yaml 'volumes:' file structure is a bit different to my current .yaml file. Will this cause a problem?
Thanks.
@Talisker said in Upgrade advice - upgrade from aarch64 to ARM64 image:
What is confusing me a little is that the exemplar docker compose .yaml 'volumes:' file structure is a bit different to my current .yaml file. Will this cause a problem?
The change in the newer file will be significant later, but no need to worry about it today. Make as few changes as possible. The only change you need to make here is from
latest-aarch64tolatest-arm64.









