Packing code into containers

Summer of K8s: Week 2 Learning Activities

Local development changes when you move to Kubernetes. As you build out your microservice architecture and your application increases in complexity, your coding feedback loop slows down. With traditional legacy applications, you adopted web frameworks, IDEs, or custom tools that enabled “hot reloading”. But Kubernetes and containers add additional complexity to your application and these tools no longer provide a straightforward solution to your challenge. This week you'll learn how to pack code into containers. To do this, you will:

Understand images: config, Dockerfile

See the lesson or submit your work

Learn about Buildpacks.io

See the lesson or submit your work

"Dive" into container layers

See the lesson or submit your work

Submit answers to weekly challenges by Friday at 5pm PDT to qualify for weekly prize drawings.

Understand images: config, Dockerfile

  1. Read Best practices for writing Dockerfiles
  2. Read Use multi-stage builds

Once you've completed the reading, answer the following questions:

Loading...

Learn about Buildpacks.io

  1. Read Why Cloud Native Buildpacks?
  2. Install Pack

Once you've completed the reading, answer the following questions:

Loading...

"Dive" into container layers

  1. Read and install Dive

Once you've completed the reading, answer the following questions:

Loading...

Get Expert Help 🧑‍💻

Have questions or need help with certain learning activities? We’ve got you covered.

See a walk-through of the challenge

Watch the recording

Get help from the community

Join Slack