Docker

Docker is a set of platform-as-a-service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels

Install Docker on Linux SUSE SLE 12 Server:

SUSEConnect -p sle-module-containers/12/x86_64 -r ''
zypper install docker
systemctl enable docker.service
systemctl start docker.service
/usr/sbin/usermod -aG docker USERNAME

Kubernetes Setup:

brew cask install virtualbox
brew install kubectl
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.27.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
minikube start
(minikube start --vm-driver=hyperkit --bootstrapper=localkube) (If minikube takes too long to start)
kubectl api-versions
minikube dashboard
kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node
kubectl expose deployment hello-node --type=LoadBalancer --port=8080
kubectl get services
minikube service hello-node
kubectl get services
kubectl get deployments
To change loadbalancer: type NodePort in the yaml config.
Kubectl edit deployment

Docker Image and Docker Hub:

Make dockerfile
Docker build -t name .
Test the image by making container and running it
Docker login --username=
Docker tag name /name
Docker push /name
Create an app on kubernetes
3 pods / external /