[ENGDOCS-894] Remove out-dated samples (#15347)

Removed samples for Docker Labs repo because the repo is no longer actively maintained.
Removed loosely connected "Library references" section.
Removed samples contained in the documentation from the list in index and from the TOC.
Fixed typo in description frontmatter
Updated TOC
Add Awesome Compose link and a few samples
Add Docker Samples link and a few samples
This commit is contained in:
Craig Osterhout 2022-08-25 08:30:58 -07:00 committed by GitHub
parent 4dca98476c
commit 04c34b9637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 67 deletions

View File

@ -1109,31 +1109,9 @@ reference:
samples:
- path: /samples/
title: Samples overview
- path: /samples/#tutorial-labs
title: Tutorial labs
- sectiontitle: Sample applications
section:
- path: /samples/apt-cacher-ng/
title: apt-cacher-ng
- path: /samples/dotnetcore/
title: ASP.NET Core application
- path: /samples/aspnet-mssql-compose/
title: ASP.NET Core + SQL Server on Linux
- path: /samples/couchdb_data_volumes/
title: CouchDB
- path: /samples/django/
title: Django and PostgreSQL
- path: /samples/wordpress/
title: WordPress
- path: /samples/postgresql_service/
title: PostgreSQL
- path: /samples/rails/
title: Rails and PostgreSQL
- path: /samples/running_riak_service/
title: Riak
- path: /samples/#library-references
title: Library references
title: Official Docker samples
manuals:
- sectiontitle: Docker Desktop

View File

@ -1,50 +1,18 @@
---
title: Samples
description: Learn how to develop and ship containerized applications, by walking through samples that exhibits canonical practices.
title: Official Docker samples
description: Learn how to develop and ship containerized applications, by walking through samples that exhibit canonical practices.
redirect_from:
- /en/latest/examples/
- /engine/examples/
- /examples/
---
{% assign labsbase = "https://github.com/docker/labs/tree/master" %}
Visit [Docker Samples on GitHub](https://github.com/dockersamples?q=&type=all&language=&sort=stargazers){: target="_blank" rel="noopener" class="_"} and the [Awesome-compose repository on GitHub](https://github.com/docker/awesome-compose){: target="_blank" rel="noopener" class="_"} for a full list of samples. The following are a few samples from those repositories.
## Tutorial labs
Learn how to develop and ship containerized applications, by walking through a
sample that exhibits canonical practices. These labs are from the [Docker Labs
repository]({{ labsbase }}).
| Sample | Description |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [Docker for Beginners]({{ labsbase }}/beginner/){: target="_blank"} | A good "Docker 101" course. |
| [Docker Swarm mode]({{ labsbase}}/swarm-mode){: target="_blank"} | Use Docker for natively managing a cluster of Docker Engines called a swarm. |
| [Configuring developer tools and programming languages]({{ labsbase }}/developer-tools/README.md){: target="_blank"} | How to set-up and use common developer tools and programming languages with Docker. |
| [Live Debugging Java with Docker]({{ labsbase }}/developer-tools/java-debugging){: target="_blank"} | Java developers can use Docker to build a development environment where they can run, test, and live debug code running within a container. |
| [Docker for Java Developers]({{ labsbase }}/developer-tools/java/){: target="_blank"} | Offers Java developers an intro-level and self-paced hands-on workshop with Docker. |
| [Live Debugging a Node.js application in Docker]({{ labsbase }}/developer-tools/nodejs-debugging){: target="_blank"} | Node developers can use Docker to build a development environment where they can run, test, and live debug code running within a container. |
| [Dockerizing a Node.js application]({{ labsbase }}/developer-tools/nodejs/porting/){: target="_blank"} | This tutorial starts with a simple Node.js application and details the steps needed to Dockerize it and ensure its scalability. |
| [Docker for ASP.NET and Windows containers]({{ labsbase }}/windows/readme.md){: target="_blank"} | Docker supports Windows containers, too! Learn how to run ASP.NET, SQL Server, and more in these tutorials. |
| [Docker Security]({{ labsbase }}/security/README.md){: target="_blank"} | How to take advantage of Docker security features. |
| [Building a 12-factor application with Docker]({{ labsbase}}/12factor){: target="_blank"} | Use Docker to create an app that conforms to Heroku's "12 factors for cloud-native applications." |
## Sample applications
Run popular software using Docker.
| Sample | Description |
| --------------------------------------------------------------| --------------------------------------------------------- |
| [apt-cacher-ng](apt-cacher-ng.md) | Run a Dockerized apt-cacher-ng instance. |
| [.Net Core application](dotnetcore.md) | Run a Dockerized ASP.NET Core application. |
| [ASP.NET Core + SQL Server on Linux](aspnet-mssql-compose.md) | Run a Dockerized ASP.NET Core + SQL Server environment. |
| [CouchDB](couchdb_data_volumes.md) | Run a Dockerized CouchDB instance. |
| [Django + PostgreSQL](django.md) | Run a Dockerized Django + PostgreSQL environment. |
| [PostgreSQL](postgresql_service.md) | Run a Dockerized PostgreSQL instance. |
| [Rails + PostgreSQL](rails.md) | Run a Dockerized Rails + PostgreSQL environment. |
| [Riak](running_riak_service.md) | Run a Dockerized Riak instance. |
| [WordPress](wordpress.md) | Quickstart: Compose and WordPress. |
## Samples and documentation for official Docker images {#library-references}
For samples and detailed information about [official Docker images](../docker-hub/official_images.md),
refer to the documentation [for each image on Docker Hub](https://hub.docker.com/search?q=&type=image&image_filter=official){: target="_blank"}.
| Sample | Description |
| ------ | ----------- |
| [atsea-sample-shop-app](https://github.com/dockersamples/atsea-sample-shop-app){: target="_blank" rel="noopener" class="_"} | A sample Java REST application. |
| [ASP.NET / MS-SQL](https://github.com/docker/awesome-compose/tree/master/aspnet-mssql){: target="_blank" rel="noopener" class="_"} | A sample ASP.NET core application with MS SQL server database. |
| [example-voting-app](https://github.com/dockersamples/example-voting-app){: target="_blank" rel="noopener" class="_"} | A sample distributed application running across multiple Docker containers. |
| [Django](https://github.com/docker/awesome-compose/tree/master/django){: target="_blank" rel="noopener" class="_"} | A sample Django application. |
| [k8s-wordsmith-demo](https://github.com/dockersamples/k8s-wordsmith-demo){: target="_blank" rel="noopener" class="_"} | A sample Wordsmith project that runs across three containers: a Postgres database, a Java REST API, and a Go web application. |