Skip to content

PDXPythonPirates/docker-kubernetes-series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 

Repository files navigation

Introduction

This tutorial will give you an introduction to Docker and Kubernetes. To get to a particular section, switch to the relevant branch.

  • In Section 1 - Building with Docker, we build a simple Docker container.

  • In Section 2 - Microservices with Docker Compose, we will learn how to use Docker Compose to network multiple Docker containers together.

  • In Section 3 - Scaling with Kubernetes, we will make our application scalable by deploying it to Kubernetes.

While the basic steps are outlined in each branch in the README file, to follow along with the full tutorial, access the Notion template.

Installing Docker Desktop

  1. Navigate to the Docker website and download the Docker Desktop installer for your Mac or Windows operating system.

  2. Once the download finishes, click the installer to install Docker Desktop Community Edition on your machine.

  3. To ensure that Docker installed correctly, open a terminal window and run docker run hello-world. If it is successful you should get the following output:

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

NOTE: Docker also comes installed with Kubernetes, so this one install takes care of both dependencies!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published