Score:0

Vagrant + Docker: sync folder permision

eg flag

all!

I use Vagrant to manage a Ubuntu-14.04 docker.

I have a sync shared folder name: common (create by my personal user in host)

config.vm.synced_folder "common", "/common"

The vagrant Docs says:

The Docker provider does not support specifying options for owner or group on folders synced with a docker container.

In my case, vagrant user(docker) and my personal user (host), have diferents UID. This causes permissions problem when I try copy files from docker in the common folder.

Is there a generic solution to this problem?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.