Cannot start Docker Compose container after updating image #3154
-
i found the exact change that causes this issue: 7899829 version: "3.8"
services:
archisteamfarm:
image: justarchi/archisteamfarm
container_name: archisteamfarm
environment:
- ASF_PATH=/archisteamfarm
volumes:
- ./archisteamfarm:/archisteamfarm
ports:
- 1242:1242
restart: always
user: 1001:1001
pull_policy: always
volumes:
archisteamfarm:
external: true |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You didn't need to find a commit (I know which change caused that), you could just ask why your setup stopped working and I'd be happy to answer it here in calm atmosphere. The problem was caused by your setup where you've decided to override You can't assume that you're free to touch every single file and directory in the container. Through the very first version, until now, ASF wiki explains how it's expected to override In fact, the change you linked was done precisely to help people avoid shooting themselves in the foot in the future, as I had to deal with people's neglect at least on weekly basis, and after moving ASF binaries in a place nobody is looking at them, there is less chance user accidentally destroys them. This is what happened in your case, since contrary to wiki guidelines you decided to go with custom In short, indeed, that was just unlucky coincidence that your folder happened to be in exactly the same place I decided to move ASF binaries to. It's not a bug however, as existing ASF auto-updates would not break your setup (old containers are still using old structure until they're rebuilt), on top of the fact that nobody was expected to put anything there to begin with. You should also consider fixing your setup, as there is no reason for you to override Even better, you can do exactly what ASF wiki states, and override |
Beta Was this translation helpful? Give feedback.
You didn't need to find a commit (I know which change caused that), you could just ask why your setup stopped working and I'd be happy to answer it here in calm atmosphere.
The problem was caused by your setup where you've decided to override
/asf
path in the container with custom files. This is not supported, previously ASF didn't use this folder so this "magically" worked, but with recent versions ASF container puts its own binaries there, and overriding that folder causes direct incompatibility in a way ASF is no longer able to start properly.You can't assume that you're free to touch every single file and directory in the container. Through the very first version, until now, ASF wiki…