brikis98 / docker-osx-dev

A productive development environment with Docker on OS X
http://www.ybrikman.com/writing/2015/05/19/docker-osx-dev/
MIT License
1.43k stars 106 forks source link

I had an error 'greadlink: command not found' #186

Closed lyhoanglong closed 8 years ago

lyhoanglong commented 8 years ago

I followed your instruction to install docker-osx-dev and I had an error

2016-04-26 11:57:34 [INFO] Using sync paths from Docker Compose file at docker-compose.yml: ./src
/usr/local/bin/docker-osx-dev: line 1101: greadlink: command not found
2016-04-26 11:57:34 [INFO] Complete list of paths to sync:
2016-04-26 11:57:34 [INFO] Using default exclude paths: .git
2016-04-26 11:57:34 [INFO] Complete list of paths to exclude: .git
2016-04-26 11:57:34 [INFO] Complete list of paths to include:
2016-04-26 11:57:34 [INFO] Starting docker-osx-dev file syncing
2016-04-26 11:57:34 [INFO] Testing if docker machine is running
2016-04-26 11:57:35 [INFO] Installing rsync in the Docker Host image
2016-04-26 11:57:36 [INFO] Performing initial sync of paths:
BusyBox v1.23.1 (2015-02-22 15:53:49 UTC) multi-call binary.

Usage: mkdir [OPTIONS] DIRECTORY...

Create DIRECTORY

    -m MODE Mode
    -p  No error if exists; make parent directories as needed

exit status 1

anyone had some suggestion or had this issues?

brikis98 commented 8 years ago

When you run docker-osx-dev install, it's supposed to install greadlink. It looks like that didn't happen. Did you see an error?

As a workaround, you can install it yourself (brew install greadlink).

anton164 commented 8 years ago
> brew install greadlink
Error: No available formula with the name "greadlink"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
brikis98 commented 8 years ago

Sorry, greadlink is part of coreutils, so the command should be brew install coreutils.

lyhoanglong commented 8 years ago

@brikis98 yes I missed greadlink in package coretils and fswatch, now it's work perfect. Thanks.

ain commented 8 years ago

Great! Glad to hear that :)