GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dockersamples/docker-init-demos: Sample apps to demonstrate the power of docker init

BranchesTags
Open more actions menu

Latest commit

 

History

68 Commits
68 Commits

Folders and files

NameName
Last commit message
Last commit date
dotnet
dotnet
 
 
go
go
 
 
java
java
 
 
node
node
 
 
php/app
php/app
 
 
python
python
 
 
rust
rust
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

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.

Note: This repository is built and maintained by community members and is not officially maintained by the Docker Team.

Table of Contents

  • Languages
  • Prerequisites
  • Getting Started
  • Docker Initialization
  • Sample Apps

Languages

This repository includes sample applications in the following programming languages:

  • Node.js
  • Python
  • Rust
  • Go
  • ASP.NET
  • Java

Prerequisites

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

  • Download and Install Docker
  • Your preferred code editor or IDE for the specific language you are working with.

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:

  • Node.js: A simple "Hello, Docker!" web application using Express.js
  • Python: A basic "Hello, Docker!" Web application
  • Rust: A command-line application that prints "Hello, Docker!" to the console
  • Go: A minimal web server that responds with "Hello, Docker!" to HTTP requests
  • Java: A simple "Hello Docker!" Spring Boot Rest Service

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!

Where to raise issues?

If you have any suggestions or encounter any issues related to Docker Init, feel free to raise them under our Docker Public Roadmap repository

License

This repository is licensed under the MIT License

Contributors

  • Ajeet Singh Raina
  • Nilesh Gule

About

Sample apps to demonstrate the power of docker init

Topics

docker-initgonodejspythonrust

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

34 stars

Watchers

4 watching

Forks

18 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.