Systemd automount inside container

hello,

i want to use systemd automount to mount network-shares on demand (acces on mount directory).
its a privileged container and manual mount of nfs/smb shares works.

when i use systemd-automount i get this error:
Operation on or unit type of lan-smb_storage.automount not supported on this system.

/etc/systemd/system/lan-smb_storage.mount:

[Unit]
  Description=mount //1.2.3.4/share into /lan/smb_storage
  Requires=network-online.target
  After=network-online.service
  StartLimitIntervalSec=0

[Mount]
  What=//1.2.3.4/share
  Where=/lan/smb_storage
  Options=rw,password=xxxx,_netdev,username=xxxxx,iocharset=utf8
  Type=cifs

[Install]
  WantedBy=multi-user.target

/etc/systemd/system/lan-smb_storage.automount:

[Unit]
  Description=automount /lan/smb_storage
  Requires=network-online.target
  After=network-online.service

[Automount]
  Where=/lan/smb_storage
  TimeoutIdleSec=10

[Install]
  WantedBy=multi-user.target

lxd version: 4.13

Does anyone know why this (systemd automount inside container) doesn’t work?