I am using a microservices type app, in a Raspberry Pi 3. The version of the ResinOS is 2.12.5+rev1 (prod).
I pushed the images to the app using
resin deploy app_name (where a docker-compose.yml exists), and the images started to download in the device.
- First question: I am using the fleet var: “RESIN_SUPERVISOR_UPDATE_STRATEGY”: “kill-then-download”. However, the downloads started but the services didn’t stop: only when the image has been downloaded, the service is stopped and then installed. Shouldn’t services be stopped and then download and install the images?
Because of memory issues, the device was rebooted (while some of the images were being downloaded) because of the functionality of one of the services (using the supervisor API). At the end, all the images has been downloaded and installed, but one of them seems to be blocked: it tries to download the image all the time, and the following error is printed on the logs screen:
Failed to download image 'registry2.resin.io/v2/XXXXXX@sha256:XXXXXX' due to 'failed to register layer: open /var/lib/docker/aufs/layers/XXXXXX: no such file or directory'
- Second question: whan can I do to repair that error?