docker-osx-dev icon indicating copy to clipboard operation
docker-osx-dev copied to clipboard

Issue synching paths

Open jonlambert opened this issue 9 years ago • 5 comments
trafficstars

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

jonlambert avatar Nov 24 '15 15:11 jonlambert

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.

brikis98 avatar Nov 24 '15 16:11 brikis98

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.

thorning avatar Dec 09 '15 10:12 thorning

Topic overlapping with #146.

ain avatar Dec 09 '15 12:12 ain

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.

rue avatar Feb 26 '16 21:02 rue

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

mre avatar Mar 10 '20 10:03 mre