Skip to content

tini isn't needed anymore #3

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
BlinkyStitt opened this issue Dec 28, 2016 · 3 comments
Closed

tini isn't needed anymore #3

BlinkyStitt opened this issue Dec 28, 2016 · 3 comments

Comments

@BlinkyStitt
Copy link

Docker 1.12+ handles an init process now

@mariusgrigaitis
Copy link

mariusgrigaitis commented Feb 1, 2017

Also it does not currently work because of tini

$ pinata-ssh-forward
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"/usr/bin/tini\": stat /usr/bin/tini: no such file or directory".

New location of tini is /sbin/tini, looks like fixed in #7

@ozbillwang
Copy link

ozbillwang commented Mar 23, 2017

@wysenynja

Could you please explain how Docker 1.12+ handles an init process, any relate document about it?

My docker version is 1.12.5, but init doesn't work with it.

@mariusgrigaitis

Can't make it work with /sbin/tini, tini can't be found (AWS Linux AMI)

@BlinkyStitt
Copy link
Author

BlinkyStitt commented Mar 25, 2017

Could you please explain how Docker 1.12+ handles an init process, any relate document about it?

https://github.com/docker/docker/blob/master/CHANGELOG.md#runtime-2

Add boolean flag --init on dockerd and on docker run to use tini a zombie-reaping init process as PID 1 #26061 #28037

moby/moby#28037
moby/moby#26061

I actually ended up putting tini back into the image so that we wouldn't have to worry about someone forgetting this flag.

uber-common@494b72d

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants