marmelab / gaudi

Gaudi allows to share multi-component applications, based on Docker, Go, and YAML.
http://gaudi.io/
MIT License
563 stars 28 forks source link

gaudi enter mac os #77

Open amenophis opened 10 years ago

amenophis commented 10 years ago

It seems the command gaudi enter <box_name> seems not work on Mac OS. It fail with this log:

$ gaudi enter nginx
Retrieving ns-enter image ...
2014/07/27 12:38:48 exec: "run": executable file not found in $PATH

docker and virtualbox installed with boot2docker 1.1.2 go installed with homebrew, and gaudi installed with go get github.com/marmelab/gaudi

$ docker version
Client version: 1.1.2
Client API version: 1.13
Go version (client): go1.2.1
Git commit (client): d84a070
Server version: 1.1.2
Server API version: 1.13
Go version (server): go1.2.1
Git commit (server): d84a070
$ go version
go version go1.3 darwin/amd64

How can i solve it ?

manuquentin commented 10 years ago

To retrieve the nsenter binary, gaudi runs:

docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter

Like explained in jpetazzo/nsenter.

Can you run this command in your OSX prompt ? I think that the gaudi enter should be launched in your virtual machine, the docker client for OSX cannot handle this command.