Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

tini isn't needed anymore #3

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

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

No branches or pull requests

3 participants