docker run --rm -ti mattermost/mattermost-team-edition:10.11.1 bash
i get a :
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown.
Thanks for the detailed repro steps, @fab2! Since recent Mattermost images were slimmed down (hence the size drop) they no longer include bash, so can you try using a POSIX shell instead (e.g., docker exec -it <container> sh or docker run --rm -it --entrypoint sh mattermost/mattermost-team-edition:10.11.1)? Or extend the image to add bash if you need it.
Hey John, thank you for answer.
I must miss something:
FR-PORT:/home/fabricer# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
835bd2977d76 mattermost/mattermost-team-edition:10.11.1 "/mattermost/bin/mat…" 2 minutes ago Up 2 minutes (healthy) 8067/tcp, 0.0.0.0:8065->8065/tcp, 8074-8075/tcp youthful_bell
17d9ffb64eba postgres:15 "docker-entrypoint.s…" 3 minutes ago Up 3 minutes 5432/tcp mm-db
FR-PORT:/home/fabricer# docker exec -it 835bd2977d76 sh
OCI runtime exec failed: exec failed: unable to start container process: exec: "sh": executable file not found in $PATH: unknown
FR-PORT:/home/fabricer# docker run --rm -it --entrypoint sh mattermost/mattermost-team-edition:10.11.1
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "sh": executable file not found in $PATH: unknown.
Finaly, i found my mistake.
In the docker-compose.yml, i’ve used for a while a DB healthcheck that needs curl. And curl is no more in the new image.
Hope it can help !
regards,