- Install docker, kubectl, helm, minikube and dapr using instructions here
- Update ~/.bashrc to include the below script to start docker and minikube if not running on startup.
# Start Docker daemon automatically when logging in if not running.
DOCKER_RUNNING=`ps aux | grep dockerd | grep -v grep`
if [ -z "$DOCKER_RUNNING" ]; then
echo "Starting docker daemon..."
sudo dockerd > /dev/null 2>&1 &
disown
fi
# Start Minikube automatically when logging in if not running.
MINIKUBE_RUNNING=`ps aux | grep minikube | grep -v grep`
if [ -z "$MINIKUBE_RUNNING" ]; then
echo "Starting minikube cluster..."
minikube start
fi
eval $(minikube docker-env)