Upload a new Github Repo from the command line

1. create the repo via curl

Replace <this>:

2. upload

Assuming you’ve created your git repo locally, added and committed then:

3. check

It should be at:

REX-Ray: container orchestration engine

From REX-Ray’s website, it’s acontainer storage orchestration engine enabling persistence for cloud native workloads

Fore more info:

REX-Ray Front Page

and https://rexray.readthedocs.io/en/latest/

The long-term goal of the REX-Ray project is to enable collaboration between organizations focused on creating enterprise-grade storage plugins for the Container Storage Interface (CSI)

Note: alternatives are Portworx

Docker: Hello World

docker run hello-world

The installation message details what Docker is doing:

  1. Docker client contacted Docker daemon
  2. Docker daemon pulled the “hello-world” image from the Docker Hub (after checking locally)
  3. The Docker daemon created a new container from that image which runs the executable that produces the installation message output  (i.e. 1 to 4)
  4. Docker daemon streamed the output to the Docker client which sends it to the terminal

 

 

Python > parsing JSON

Given:

Note: [] are for lists, {} are for dictionaries.

We can parse it with Python like this:

 

https://stackoverflow.com/questions/2835559/parsing-values-from-a-json-file