TritonDataCenter / sdc-docker

Docker Engine for Triton
Mozilla Public License 2.0
182 stars 49 forks source link

Docker run doesn't work with tini #91

Open jemershaw opened 7 years ago

jemershaw commented 7 years ago

Jenkins uses tini to start the jenkins container, this doesn't seem to work using triton/docker.

tyoh commented 7 years ago

I hit the same thing!

Smithx10 commented 7 years ago

"What JEmershaw Meant to say is",

While running: docker run -d -t -p 8080:8080 -p 50000:50000 --name jenkins-test-2 jenkins:alpine

The Container fails to start because of the following: docker logs jenkins-test-2 [FATAL tini (92079)] /tcsetpgrp failed: 'No such device or address'

joshwilsdon commented 7 years ago

I ran into this a while ago too and filed https://smartos.org/bugview/OS-5615 internally. I've linked the two tickets now.

geek commented 7 years ago

PR for official jenkins image to upgrade their tini version: https://github.com/jenkinsci/docker/pull/394

I verified this works... here is a working image: https://hub.docker.com/r/d0cker/jenkins/