instruction: Explain Docker containerization and best practices
output: Back
  Ask AI
  Start typing to search or try
  Contact support
  Guides
  Get started
  Manuals
  Bun language-specific guide
  Learn how to containerize JavaScript applications with the Bun runtime.
  JavaScript
  10 minutes
  Containerize your app
  Develop your app
  Configure CI/CD
  Test your deployment
  Â« Back to all guides
  Bun language-specific guide
  The Bun getting started guide teaches you how to create a containerized Bun application using Docker. In this guide, you'll learn how to:
  Acknowledgment
  Docker would like to thank
  Pradumna Saraf
  for his contribution to this guide.
  What will you learn?
  Containerize and run a Bun application using Docker
  Set up a local environment to develop a Bun application using containers
  Configure a CI/CD pipeline for a containerized Bun application using GitHub Actions
  Deploy your containerized application locally to Kubernetes to test and debug your deployment
  Prerequisites
  Basic understanding of JavaScript is assumed.
  You must have familiarity with Docker concepts like containers, images, and Dockerfiles. If you are new to Docker, you can start with the
  Docker basics
  guide.
  After completing the Bun getting started modules, you should be able to containerize your own Bun application based on the examples and instructions provided in this guide.
  Start by containerizing an existing Bun application.
  Modules
  Containerize your app
  Learn how to containerize a Bun application.
  Develop your app
  Learn how to develop your Bun application locally.
  Configure CI/CD
  Learn how to configure CI/CD using GitHub Actions for your Bun application.
  Test your deployment
  Learn how to develop locally using Kubernetes