Jon Rumsey

An online markdown blog and knowledge repository.


Project maintained by nojronatron Hosted on GitHub Pages — Theme by mattgraham

PPH Docker and Digital Ocean

Build tools and hosting, and how they work.

Presenter

Robert Shepley, Code Fellows Alum

Tools

Good to put tools into your toolbelt!

Docker

What is it?

Why Docker?

Containers:

Makes Dev Efficient and Predictable (from Docker website):

Using Docker

There are many ways to setup and use Docker, so use the documentation.

Docker Command: Create and deploy a container in a CLI.

YML: Execute a YML file to define a Docker instance via DockerCompose.

DockerFile: Similar to YAML setup.

Image: Definition for a Container.

Container: A running instance of a Docker Image.

Example: Dockerize an Expressjs server with a DB backend and run using DockerComponse.

DevContainers: VSCode-integration with Docker to deploy entire environments on local or in the cloud.

Can be used in productions as well as dev and test.

Learning Docker

Have a goal in mind when learning Docker e.g.: Build a solution you want to build. This helps you avoid the complexity of Docker overall to focus on the parts of Docker necessary to get the target system/service built and deployed.

Digital Ocean

Simpliar to AWS or Heroku: Can upload code and execute it on the platform.

Droplets: Server instances.

Return to PPH Index

Return to Root README