Expected behavior
docker-compose up -d
start containers properly
Actual behavior
$ github/vmware/harbor/Deploy (master)
$ docker-compose up -d
WARNING: The Docker Engine you’re using is running in swarm mode.
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
To deploy your application across the swarm, use the bundle feature of the Docker experimental build.
More info:
Starting deploy_log_1
ERROR: for log Cannot start service log: Mounts denied:
The path /var/log/harbor
is not shared from OS X and is not known to Docker.
You can configure shared paths from Docker -> Preferences… -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
.
ERROR: Encountered errors while bringing up the project.
$ github/vmware/harbor/Deploy (master)
Information
try to share /var/log/harbor in docker “File sharing”, but in Mac, /var is linked to private/var
$ ls -ld /var
lrwxr-xr-x@ 1 root wheel 11 3 May 12:44 /var -> private/var
When I try to apply & Restart, give me the error
The export path /private/var/log overlaps with the export path /private.
So in fact, /private has been shared.
Steps to reproduce the behavior
- git clone https://github.com/vmware/harbor.git vmware/harbor
- cd vmware/harbor/Deploy
- docker-compose up -d