/docker-init-demos

Sample apps to demonstrate the power of docker init

Primary LanguageRustMIT LicenseMIT

List of Docker Init Sample Apps

image

This repository provides a collection of sample applications in different programming languages, along with Docker init support for each language. It's a great starting point for developers who want to quickly get familiar with Docker init on various programming languages.

Table of Contents

Languages

This repository includes sample applications in the following programming languages:

Prerequisites

Before getting started, make sure you have the following tools installed on your system:

Getting Started

To get started with the sample apps, follow these steps:

  1. Clone this repository to your local machine:
 git clone https://github.com/dockersamples/docker-init-demos.git
  1. Navigate to the folder for the specific programming language you want to explore (e.g., nodejs, python, rust, or go).
 cd docker-init-demos.git

Docker Initialization

Each language folder contains a sample project. To build and run the Docker container, use the following commands:

docker init

Run the container

docker compose up -d --build

After running the container, you can access the sample app in your web browser by visiting http://localhost:3000/.

Sample Apps

Here's a list of the sample applications available in each language folder:

Feel free to explore each folder and modify the sample apps to experiment with Docker and your preferred language.

Contribution

If you would like to contribute to this repository by adding more sample applications, improving documentation, or fixing issues, feel free to open a pull request. We welcome contributions from the community!

License

This repository is licensed under the MIT License