Skip to content

Commit

Permalink
node, syscontainer: replace /var/lib/docker mount point
Browse files Browse the repository at this point in the history
with /var/lib/docker/containers

so we don't leak /var/lib/docker/devicemapper mount points
into the container.

Reference: #15105

Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Nov 27, 2017
1 parent 32e0704 commit 20ffe24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions images/node/system-container/config.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,11 @@
},
{
"type": "bind",
"source": "/var/lib/docker",
"destination": "/var/lib/docker",
"source": "/var/lib/docker/containers",
"destination": "/var/lib/docker/containers",
"options": [
"bind",
"slave",
"rw",
"mode=755"
]
Expand Down

0 comments on commit 20ffe24

Please sign in to comment.