deploying docker containers for great good!

title inspiration: Using % and .format() for great good!

this container thing better be worth it…

I just spent an inordinate amount of time on the last tutorial.

it’s good for you, most probably.

before you start reading this

have a containerized app.

have a google cloud console account.

have the gcloud cli (if you’re using google cloud shell, then I don’t know how to help you)

the short of it*

  1. install kubectl cli
  2. use gcloud cli to make a kubernetes cluster (make kubernetes in cloud)
  3. connect your kubectl to kubernetes cluster (connect terminal to cloud)
  4. deploy app on kubernetes cluster (put in kubernetes)
  5. expose app on kubernetes cluster (connect to the world)
  6. profit twice (look ma, no magic ??? in between)

*only tested on mac0S 10.13.5 High Sierra

Continue reading “deploying docker containers for great good!”

Advertisements

running docker containers for great good!

title inspiration: Using % and .format() for great good!

huh?

template. lets you run apps in containers.

before you start reading this

know how to use a terminal /  command prompt.

have install docker on your pc / mac.

the short of it*

  1. make app with flask (or django i guess)
  2. write dockerfile
  3. run
  4. profit (look ma, no magic ??? in between)

*only tested on mac0S 10.13.5 High Sierra

Continue reading “running docker containers for great good!”