When starting an interactive tutorial, the first few commands could encounter errors.
> kubectl version
bash: /home/scrapbook/.bin/kubectl: Permission denied
> kubectl version
bash: /home/scrapbook/.bin/kubectl: Permission denied
> kubectl version
bash: /home/scrapbook/.bin/kubectl: Permission denied
> kubectl version
bash: /home/scrapbook/.bin/kubectl: Permission denied
> kubectl version
Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.0", GitCommit:"283137936a498aed572ee22af6774b6fb6e9fd94
", GitTreeState:"clean", BuildDate:"2016-07-01T19:26:38Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.3", GitCommit:"c6411395e09da356c608896d3d9725acab821418
", GitTreeState:"clean", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}
I think it takes a while for the binaries to be copied and permissions to be changed.
> ls -lh /home/scrapbook/.bin/
total 38M
-rwxr-xr-x 2 scrapbook scrapbook 7.6M Jul 29 16:17 docker-compose
-rw-r--r-- 1 scrapbook scrapbook 31M Aug 10 16:37 kubectl
-rwxr-xr-x 1 scrapbook scrapbook 1.7K Aug 10 16:37 minikube
> ls -lh /home/scrapbook/.bin/
total 62M
-rw-r--r-- 1 scrapbook scrapbook 75 Aug 10 16:37 aget_path
-rwxr-xr-x 2 scrapbook scrapbook 7.6M Jul 29 16:17 docker-compose
-rwxr-xr-x 1 scrapbook scrapbook 226 Aug 10 16:37 get_path
-rwxr--r-- 1 scrapbook scrapbook 54M Aug 10 16:37 kubectl
-rwxr-xr-x 1 scrapbook scrapbook 1.7K Aug 10 16:37 minikube
It'd be nice if the the prompt only appears after the setup is ready.