Skip to content
Fresh

Rust

Back

Guides

Rust language-specific guide

This guide covers how to containerize Rust applications using Docker.

Rust Docker Hardened Images

20 minutes

1

Build images

2

Run containers

3

Develop your app

4

Configure CI/CD

5

Test your deployment

« Back to all guides

Rust language-specific guide


This guide covers how to containerize Rust applications using Docker.

Time to complete20 minutes

The Rust language-specific guide teaches you how to create a containerized Rust application using Docker. In this guide, you'll learn how to:

  • Containerize a Rust application
  • Build an image and run the newly built image as a container
  • Set up volumes and networking
  • Orchestrate containers using Compose
  • Use containers for development
  • Configure a CI/CD pipeline for your application using GitHub Actions
  • Deploy your containerized Rust application locally to Kubernetes to test and debug your deployment

After completing the Rust modules, you should be able to containerize your own Rust application based on the examples and instructions provided in this guide.

Start with building your first Rust image.

Modules

  1. Build images Learn how to build your first Rust Docker image

  2. Run containers Learn how to run your Rust image as a container.

  3. Develop your app Learn how to develop your Rust application locally.

  4. Configure CI/CD Learn how to Configure CI/CD for your application

  5. Test your deployment Learn how to test your Rust deployment locally using Kubernetes