https://github.com/darkdragon-001/Dockerfile-Ubuntu-Gnome
This is the command which is adding capabilities to the docker run command of the ubuntu gnome container. I want this --cap-add to be automated rather than typing in the command manually each time. Any suggestions or links or reference?
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