Visits: 7467Mongo DB likes XFS, so the project is to get MOngodb in a docker container to be happy with an XFS volume on the host. Using the mount type bind instead of volume does the trick. docker service create \ –mount type=bind,src=<HOST-PATH>,dst=<CONTAINER-PATH> \ –name myservice \ <IMAGE> Give a service access to volumes or …
Continue reading “#Docker Service Create How to use the mount option to use a directory on the host”