Error when trying to init docker-osx-dev
xmarston opened this issue · comments
I have installed it successfully following the installation steps but now when I want to initialize it in the folder I want to sync with my docker container I get this error:
2017-04-14 12:31:23 [INFO] Complete list of paths to sync:
2017-04-14 12:31:23 [INFO] Using default exclude paths: .git
2017-04-14 12:31:23 [INFO] Complete list of paths to exclude: .git
2017-04-14 12:31:23 [INFO] Complete list of paths to include:
2017-04-14 12:31:23 [INFO] Starting docker-osx-dev file syncing
2017-04-14 12:31:24 [INFO] Installing rsync in the Docker Host image
2017-04-14 12:31:24 [INFO] Performing initial sync of paths:
2017-04-14 12:31:24 [DEBUG] Creating parent directories in Docker VM: sudo mkdir -p && sudo chown -R docker
BusyBox v1.24.2 (2016-05-16 13:28:30 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
Is there anything I can do to fix this?
Why does it say BusyBox
? It seems like the wrong binary is being called...
What command(s) did you run?
Also, can you set the log level to DEBUG
so we can see more info?
docker-osx-dev --log-level DEBUG
having the same error, i get this when i run the DEBUG
option:
2017-05-11 13:53:41 [DEBUG] Creating parent directories in Docker VM: sudo mkdir -p && sudo chown -R docker
I ran into this issue when installing while I had Docker for mac running. Shut it down, re-installed, and it worked. Not sure if it's just a problem with the daemon or something totally not related
I'm having this same issue. I believe it has something to do with the script that loads the paths to sync.
As you can see, on the first line of the log:
2017-04-14 12:31:23 [INFO] Complete list of paths to sync:
The list of paths to sync is empty. In my case, it's not reading the list of paths to sync from the docker-compose.yml
file.
Linking #147 with a possible fix.