This page outlines the requirements for code repositories in the dockersamples
organization. These repositories are meant to support Docker guides and blogs at this point.
If you have any questions, please contact #docs
on the Docker Community Slack.
This section provides instructions for using the template. Please remove this "Samples Repo Templates for Docker Guides" section from the README file after cloning the repository to ensure your guide is clean and tailored to your specific application.
- Select Use this template and choose Create a new repository.
- Select dockersamples/docker-guides-template under Repository Template, select your repository, populate description and choose your preferred repository name.
- Select Create repository. Don't forget to populate About section with a short description of the project once you create the repository.
If you already have an existing repository, copy the appropriate files from this repo into your own. The key files are CONTRIBUTING.md
, LICENSE
, and README.md
The README.md describes the purpose of the repository, setup instructions, and related resources.
This repo contains the sample application for developing applications and the Docker guide on Docker Docs. While this project is written primarily in Node/Rust/Java, the focus is on launching and using tool in development and the tool-related pieces can easily be adapted into any other language.
Notice: This sample repo is intended to support the guide mentioned above. As such, the application code is purposely kept simple to keep the focus on the guide's content and should not be considered production-ready.
[Describe the directory structure of the project repository]
- app/ - The main "app" of the project. It listens to events on a Kafka topic and logs them.
- frontend/ - Contains the frontend part of the application.
- backend/ - Contains the backend part of the application.
- database/ - Contains database configuration and scripts.
[Provide clear setup instructions here]
git clone https://github.com/your-org/sample-repo.git
cd sample-repo
This project requires the following environment variables:
DATABASE_URL
- The URL of the database.API_KEY
- API key for third-party services.
Create a .env
file in the root directory to define these variables.
cd app && npm install
cd ../frontend && npm install
cd ../backend && npm install
npm start
For more information, check the related blog post or use case guide.
This repo is maintained [frequency]. For any security updates, note that there may be delays in applying recent fixes.
This project is licensed under the Apache 2.0 License.
Since this project is intended to support a specific use case guide, contributions are limited to bug fixes or security issues. If you have a question, feel free to open an issue!