[lxc-users] Trouble with automounting /dev/shm

Pavol Cupka pavol.cupka at gmail.com
Wed Nov 22 09:18:10 UTC 2017


Hello list,

I am running
  LXD 2.18
  LXC 2.0.8
  LXCFS 2.0.6

on a non-systemd host, trying to run a non-systemd container. All
works well, except the /dev/shm doesn't get mounted. I copied a line
from lxc template and added this line as raw.lxc config value for the
container, but I doesn't work.

This is the config line being added through profile
config:

raw.lxc: lxc.mount.entry = none dev/shm tmpfs
rw,nosuid,nodev,create=dir

The container starts, but the /dev/shm doesn't get mounted.

Am I doing something wrong?

Thanks for help.

Pavol


More information about the lxc-users mailing list