Skip to content

Instantly share code, notes, and snippets.

View Nairit11's full-sized avatar

Nairit Banerjee Nairit11

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

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 April 27, 2024 07:59
Cheat Sheet for Docker

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