Week 11

Deployment Strategies

Docker

Docker Compose

Image Registries

Deploying to the Cloud

Practice

Assignment

Back end Track

Under construction

<aside> 🚧

This page is currently under construction. Please check back later.

</aside>

Implementation plan:

  1. Docker recap from core program
  2. Writing a Dockerfile for a Spring Boot application
  3. FROM, COPY, RUN, CMD / ENTRYPOINT
  4. Building an image: docker build
  5. Running a container: docker run with port mapping and env vars
  6. Multi-stage builds — separate build stage (Maven/Gradle) from runtime stage
  7. Why multi-stage matters for Java: reducing image size from ~500MB to ~200MB
  8. Debugging containers: docker logs, docker exec
  9. Exercise: containerize the Week 7 project

The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0 *https://hackyourfuture.net/*

CC BY-NC-SA 4.0 Icons

Built with ❤️ by the HackYourFuture community · Thank you, contributors

Found a mistake or have a suggestion? Let us know in the feedback form.