Skip to content

Instantly share code, notes, and snippets.

Avatar

Nairit Banerjee Nairit11

  • Allahabad,India
View GitHub Profile
@Nairit11
Nairit11 / Kubernetes Cheat Sheet.md
Last active Sep 25, 2019
A cheat sheet for Kubernetes
View Kubernetes Cheat Sheet.md

KUBERNETES CHEAT SHEET

Create a deployment for an image

kubectl run nginx --image=nginx:1.10.0

Get pods running some container

kubectl get pods

@Nairit11
Nairit11 / Docker Cheat Sheet.md
Last active Sep 2, 2019
Cheat Sheet for Docker
View Docker Cheat Sheet.md

DOCKER CHEAT SHEET

Run an Image

docker run image_name

To run a specific version use a tag. By default tag is 'latest'

docker run image_name:version