As a long time user of tini
, I was happy to see that --init
can replace it. But, I am confused that it is only available in docker-compose 2.2 but not 3? Any reason for this?
cheers,
Share and learn in the Docker community.
As a long time user of tini
, I was happy to see that --init
can replace it. But, I am confused that it is only available in docker-compose 2.2 but not 3? Any reason for this?
cheers,
I noticed this as well; it was introduced in the schema v.2.2, and no mention of it being removed, yet when running a v3.x config file, an error occurs: Unsupported config option for <service.id>: āinitā
EDIT: I found the reason why here: https://github.com/docker/docker.github.io/issues/3149
The issue mentioned by @bdharrington7 was closed as they think itās only not working for swarm deployments.
But I am getting the āUnsupported config optionā error even if I only use docker-compose up to deploy the containers locally.
Any news on whatās going on with this?
Iām also hitting this problem. Any news?
Take a look at the issue I linked to, it looks like thereās an option to enable it by default, though it seems like the sentiment is that programs should properly handle their children anyway. As of about 3 months ago thereās still some movement on it