JaneliaSciComp / jacs-cm

JACS Configuration Management
Other
8 stars 3 forks source link

Cannot start service jacs-dashboard #9

Closed freshpomelo closed 4 years ago

freshpomelo commented 4 years ago

Hi all,

I'm trying to install jacs-cm on Docker for Mac. There is an error info showed below, when I tried to bring up all of the application containers with "./manage.sh compose up standalone -d".

67142985-4438c500-f299-11e9-8deb-95c2ad1e8729

There is a solution here. https://github.com/docker/for-mac/issues/3431#issuecomment-545267759

krokicki commented 4 years ago

Thanks @freshpomelo for reporting this. I've updated the jacs-cm deployments to not use the shared flag, so your workaround won't be necessary in future versions.

The shared flag is only necessary for automounted NFS volumes in Linux.

ghost commented 3 years ago

The shared flag is only necessary for automounted NFS volumes in Linux.

To elaborate a little, they're not only necessary on Linux but only possible on Linux. "Bind propagation defaults to rprivate for both bind mounts and volumes. It is only configurable for bind mounts, and only on Linux host machines." (Docker Docs). macOS has something called consistency according to this post but that's not a feature surfaced by the Docker Engine.