Skip to content

Commit

Permalink
docker-centos: rbind mount /opt from the host
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <[email protected]>

Closes: projectatomic#167
Approved by: ashcrow
  • Loading branch information
giuseppe authored and rh-atomic-bot committed Feb 26, 2018
1 parent 35d0a02 commit 9502324
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker-centos/config.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,17 @@
"mode=755"
]
},
{
"type": "bind",
"source": "/opt",
"destination": "/opt",
"options": [
"rbind",
"rslave",
"rw",
"mode=755"
]
},
{
"type": "bind",
"source": "/mnt",
Expand Down

0 comments on commit 9502324

Please sign in to comment.