Docker compose bind mount with colon and comma in path
I have mounted my google drive folder in Ubuntu using gnome-online-accounts, which ends up being mounted like so: /run/user/1000/gvfs/google-drive:host=my_host.com,user=my.username Mounting this in a docker container works fine if I escape it correctly, i.e.: --mount "type=bind,\"source=/run/user/1000/gvfs/google-drive:host=my_host.com,user=my.username/\",target=/data/gdrive" If I try to do the same with docker compose, however, it breaks: # docker-compose.yml services: myservice: build: context: . dockerfile: Dockerfile volumes: - type: bind source: "\"/run/user/1000/gvfs/google-drive:host=my
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.