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

Error when trying to init docker-osx-dev

Open xmarston opened this issue 7 years ago • 5 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?

xmarston avatar Apr 14 '17 10:04 xmarston

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

brikis98 avatar Apr 14 '17 22:04 brikis98

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

merongivian avatar May 11 '17 17:05 merongivian

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

slightlytyler avatar May 16 '17 21:05 slightlytyler

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.

victorpedrocs avatar Nov 20 '17 20:11 victorpedrocs

Linking #147 with a possible fix.

mre avatar Mar 10 '20 10:03 mre