[lxc-users] LXD bind mount

david.andel at bli.uzh.ch david.andel at bli.uzh.ch
Sat Jan 2 18:04:10 UTC 2016


I am trying to implement bind mounting for LXD containers using a profile 'share' containing:

name: share
config:
  lxc.mount.entry = /share share none bind 0 0
devices: {}

However, when I try to save (in vi) I get the error:

Config parsing error: yaml: unmarshal errors:
  line 21: cannot unmarshal !!str `lxc.mou...` into map[string]string
Press enter to open the editor again

What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160102/300a9f24/attachment.html>


More information about the lxc-users mailing list