📖
System Design
  • Home
  • Learn System Design Daily
  • System Design Steps
  • List of design questions:
  • My System Design Interview Checklist
  • CheatSheet
  • Programming Language Jargons
  • Scaleable Design
  • Agile Scrum
  • Uber
  • Gmail System Design
  • Distributed Rate Limiting
  • Audio Search Engine
  • Code Style and Review
  • Calling App Design
  • Low Level Design: Payment Tracking App
  • Machine Coding :Cache
  • Interview Advice
  • URL Shortner
  • Unique ID in Distributed Systems
  • Load Balancing Algorithm
  • API Architecture
  • Desgin Practise for Rest API
  • Performance Practise for API
  • API Gateway
  • API Security Hacks
  • Distributed Design Patterns
  • Fault Tolerance in Distributed Systems
  • Microservice Communication Design Patterns
  • Zipping /Compression
  • Database
  • Mongo DB
  • SQL
  • PostgreSQL
  • Database Designs
    • Designing a location based database
  • Building Database
  • Design Patterns
    • Microservice Architecture 10 Design Patterns
    • Interaction Patterns
  • Locale.ai
  • Version Control
  • Caches / Caching
  • High Level Design
  • Low Level Design
  • Containers, Docker
  • Docker
  • Linux Directories
  • Design Pattern for Software Architect
  • S.O.L.I.D Principles
  • Monitoring and Telemetry for Production System
  • C4 model
  • LRU Cache
  • VSCode
  • Chatbot Architecture
  • Streaming API Repsonse
  • Latency in System Design
  • Cloud
    • Azure
    • AWS
  • Builds
    • Jenkins
Powered by GitBook
On this page
  • Run Hello World
  • Docker Details
  • Run Ubuntu
  • Commit the Changes
  • Docker Swarms
  • Install Minicube on Mac
  • Kuberenets Commands

Was this helpful?

Docker

Check the Docker version

docker version

Run Hello World

docker run hello-world

Docker Details

docker ps -a
docker ps
docker images
docker info

Run Ubuntu

docker pull ubuntu

docker run -it ubuntu 

$apt-get update

exit 

docker container ls -all
 

Commit the Changes

docker commit -m "did a apt-get udpate" -a "authorName" funny_meninsky harshit/ubuntu-demo

Docker Swarms

docker swarm init --advertise-addr 192.168.29.44:2377 --listen-addr 192.168.29.44:2377

Did not work port errir

Install Minicube on Mac

brew install kubectl
brew install minikube

Kuberenets Commands

# command structure

kubectl [command] [type] [name] [flags]

## Make local + external nodes visible
$ kubectl get nodes


## version of both local and client version
$ kubectl version

Q . Version difference between client and server version .

  • Get the Deployments (Only deployed)

$ kubectl get deployments
  • Get pods both the deployed and un-deployed ones

$ kubectl get pods
  • Get the Details of the Pod in YAML format

$ kubectl get pod <pod name> -o=yaml    
  • All the Details of pods and deployments etc .

$ kubectl get all
  • Get all the namespace in cluster

$ kubectl get namespaces
  • Get all the namespaces with Labels in the cluster

$ kubectl get namespaces --show-labels
  • Create Namespace in cluster

Q . difference between context and namespace in context

$ kubectl 
PreviousContainers, DockerNextLinux Directories

Last updated 3 years ago

Was this helpful?