jpetazzo/pipework

Osx not working

goors opened this issue · 8 comments

It would be great if pipework can work on mac.
I am getting error:

./pipework: line 81: /proc/mounts: No such file or directory
Could not locate cgroup mount point.

I tried creating /proc/mounts but that leaves me with:

Could not locate cgroup mount point.

Is there any way pipework can work on OSX?

Hi!

Unfortunately, OS X will never work on a Mac.

However, you can use boot2docker ssh and run it from within the boot2docker VM.

Let me know if that helps!

Cheers,

Yes well, I will try to do some iptables instead. Thanks anyway.

@jpetazzo

"OS X will never work on a Mac."

:D:D:D

Hahaha, indeed, I was tired that day. 😢 I meant pipework, of course.

Just to confirm, should it work on OSX now, or not? A user of my scripts (in which I use pipework) gets "I do not know how to setup interface en0." when running on OSX.

»» ifconfig

en0: flags=8863 mtu 1500
ether 80:e6:50:1b:7b:06
inet6 fe80::82e6:50ff:fe1b:7b06%en0 prefixlen 64 scopeid 0x4
inet 10.0.1.198 netmask 0xffff0000 broadcast 10.0.255.255
nd6 options=1
media: autoselect
status: active

No, it won't work on OS X, because pipework relies on the fact that it runs on the same kernel as your Docker containers; which is not the case on OS X. On OS X, Docker runs within a VM, and you want to run pipework on that VM. Sorry!

any changes on this since Docker for mac is no longer in a VM running on boot2docker?

No, unfortunately, pipework is probably never going to work on a Mac. Sorry!