minikube 부팅 시 자동 시작

OS : Ubuntu 20.04

/usr/lib/systemd/system/minikube.service

[Unit]
Description=minikube

[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/root
ExecStart=/usr/bin/minikube start –embed-certs –driver=none
ExecStop=/usr/bin/minikube stop

[Install]
WantedBy=multi-user.target

systemctl start minikube.service

systemctl status minikube.service

#부팅시 활성화

systemctl enable minikube.service

출처 : https://serverfault.com/questions/1035376/how-to-run-minikube-start-as-a-linux-service-on-startup