For example, I want to run minikube start
.
First I created the following minikube.service file:
[Unit]
Description=Runs minikube on startup
After=vboxautostart-service.service vboxballoonctrl-service.service vboxdrv.service vboxweb-service.service
[Service]
Type=forking
ExecStart=/usr/local/bin/minikube start
[Install]
WantedBy=multi-user.target
Then I enabled it and on the next reboot the systemd
framework attempted to run it. However, it failed because apparently the minikube start command is not supposed to run as root:
The "virtualbox" driver should not be used with root privileges.
How can I run it under a non admin user?