Issue synching paths
jonlambert opened this issue · comments
Hi!
Just getting started with docker-osx-dev
. I've installed, but when I run the command in the root directory of my project (with a docker-compose.yml
file), I get the error below:
/usr/local/bin/docker-osx-dev: line 999: greadlink: command not found
2015-11-24 15:43:48 [INFO] Complete list of paths to sync:
2015-11-24 15:43:48 [INFO] Using default exclude paths: .git
2015-11-24 15:43:48 [INFO] Complete list of paths to exclude: .git
2015-11-24 15:43:48 [INFO] Complete list of paths to include:
2015-11-24 15:43:48 [INFO] Starting docker-osx-dev file syncing
2015-11-24 15:43:48 [INFO] Installing rsync in the Docker Host image
2015-11-24 15:43:48 [INFO] Performing initial sync of paths:
BusyBox v1.22.1 (2014-04-04 15:16:09 UTC) multi-call binary.
Usage: mkdir [OPTIONS] DIRECTORY...
Create DIRECTORY
-m MODE Mode
-p No error if exists; make parent directories as needed
error in run: exit status 1
My docker-compose.yml
file contains:
web:
build: .
command: supervisor -w . -x /usr/bin/babel-node app.js
ports:
- "80:8000"
volumes:
- .:/code
links:
- redis
- mysql
redis:
image: redis
mysql:
image: mysql
The error is right at the top:
/usr/local/bin/docker-osx-dev: line 999: greadlink: command not found
Did you run docker-osx-dev install
? Were there any errors? It should have installed the greadlink
dependency. You could try running it again to see if it works.
I had the same error. I had some problems running the docker-osx-dev install. If you use the new docker toolbox with docker machine, it needs to run inside the docker quickstart terminal. That seemed to work for me.
I also needed to manually brew install Cask.
Topic overlapping with #146.
The missing greadlink is from coreutils.
I installed Docker Toolbox and set it up (no quickstart terminal), ran docker-osx-dev install
, brew uninstall boot2docker
(since it’s not needed and I want to minimize potential for clashes), brew install coreutils
. Example works fine with this setup.
Very old issue, but if it helps, in my case coreutils was installed but it was not linked. This fixed it:
brew install coreutils; brew link --overwrite coreutils