SvenDowideit / dockerfiles

dockerfiles that I use
http://fosiki.com
MIT License
212 stars 60 forks source link

Updated how the samba container id is being fetched. #25

Closed kpettijohn closed 8 years ago

kpettijohn commented 9 years ago

I ran into a issue on my install of debian jessie where the container would fail to start due to sambaContainer returning empty.

It turns out that /proc/1/cgroup is formated a bit differently on my host.

3:cpu,cpuacct:/system.slice/docker-5d55e2c82e9782e76a993b1edaa958817a4e99457756c8acef923e8c1e9fee21.scope

I verified that the changes work with the current boo2docker vm along with the previous match grep cpu: /proc/1/cgroup | sed 's/.*\docker\///'

m-abs commented 9 years ago

I'm having the same issue

SvenDowideit commented 8 years ago

works for me - merging.