Docker
From Alessandro's Wiki
docker
Kubernetes
Details about all nodes:
kubectl describe nodes
Start container testing parameters
kubectl apply --validate -f mypod.yaml
Save pod configuration to file
kubectl get pods/mypod -o yaml > mypod.yaml
Show running pods IP address
kubectl get pods -l app=<app name> -o go-template='Template:Range .itemsTemplate:.status.podIPTemplate:"\n"Template:End'
Exposes the service to the net
kubectl expose deployment <app name> --port=80 --target-port=9376
Get the services for an app
kubectl get svc <app name>