-
Notifications
You must be signed in to change notification settings - Fork 472
Exec /init permission denied when starting container #2200
Comments
I'm also getting this after upgrading |
The same for me. ./init script is lacking executable permission. (Updated to the version tagget 2.5) Line 8 in a1b9f2e
Or was the image built from other Dockerfile... |
Same here, reverted to head. |
FYI: workaround would be to specify the command in your deploy/compose file to call a chmod +x /init first and then the init itself. |
Thanks, but for me it's much easier to just revert to head ;-) |
Yeah, I ended up reverting as well. If the fix is that easy, why not fix it and release again? |
Because it's unclear why it occurred as apparently the Dockerfile is fine:
However I agree, this should be fixed asap by untagging 2.5 and reverting the latest tag to 2.4.3. I also see no mention anywhere of 2.5 so I think it was unintended to be released already. |
Still an actual problem. I guess the tag never got reverted? |
Here's how I fixed it:
FROM opensuse/portus:2.5
docker build . -t opensuse/portus:2.5.1 That's it! |
I am workaround by change # docker-compose.yaml
services:
portus:
image: opensuse/portus:2.5
env_file:
- config/portus.env
entrypoint:
- /bin/sh
- /init |
Thanks for all your contributions! |
still appears to be not solved |
I can confirm this is still not resolved, however using workaround suggested here does get things going. |
Successfully repaired
|
Thanks for all your contributions! |
This is still an issue with Imagetag 2.5. |
this issue still exists... |
Almost 2 years and still no one cares about fixing this |
Suggest replacing Portus with Habor, since this project seems to be inactive. https://landscape.cncf.io/card-mode?category=container-registry&grouping=category&selected=harbor |
+1 for Harbor, works perfectly |
Still exits. |
I upgraded porter using Docker and I now get the following exception:
starting container process caused "exec: \"/init\": permission denied"
Docker image used (SHA256):
b276b17f9b65a98ede4cb609f8336ab16482e401a8938db3f5003124420089b7
which is tagged asopensuse/portus:2.5
andopensuse/portus:latest
.I see it hasn't been released either so why tag this with a version or even latest when this isn't stable?
Version
2.4.3
works fine.The text was updated successfully, but these errors were encountered: