diff --git a/daemon/execdriver/lxc/lxc_template.go b/daemon/execdriver/lxc/lxc_template.go index 425df01da85bec69ca9c6288b19c690e286481a9..79ef51fb72fc6f7420b91c62f26ff3bf7bb7c662 100644 --- a/daemon/execdriver/lxc/lxc_template.go +++ b/daemon/execdriver/lxc/lxc_template.go @@ -51,7 +51,7 @@ lxc.cgroup.devices.allow = a lxc.cgroup.devices.deny = a #Allow the devices passed to us in the AllowedDevices list. {{range $allowedDevice := .AllowedDevices}} -lxc.cgroup.devices.allow = {{$allowedDevice.GetCgroupAllowString}} +lxc.cgroup.devices.allow = {{$allowedDevice.CgroupString}} {{end}} {{end}}