I am trying to use the --tmpfs flag from the docker run command in the Kubernetes YAML file but could not find the way.
sudo docker run --name=ubuntu-gnome -d --rm \
--tmpfs /run --tmpfs /run/lock --tmpfs /tmp \
--cap-add SYS_BOOT --cap-add SYS_ADMIN \
-v /sys/fs/cgroup:/sys/fs/cgroup \
-p 5901:5901 -p 6901:6901 \
darkdragon001/ubuntu-gnome-vnc
SYS_ADMIN
Linux capability or mounting the host's/sys
directory. If you need a full GNOME desktop environment, a virtual machine might be a better match.)