Samples

Estimated reading time: 2 minutes

Docker samples

The following samples were developed by Docker and the Docker community.

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.

Sample Description
Docker for Beginners A good “Docker 101” course.
Docker Swarm mode Use Docker for natively managing a cluster of Docker Engines called a swarm.
Service deployment in the cloud This script creates a swarm cluster and deploys a simple service on a cloud provider.
Configuring developer tools and programming languages How to set-up and use common developer tools and programming languages with Docker.
Live Debugging Java with Docker 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 Offers Java developers an intro-level and self-paced hands-on workshop with Docker.
Live Debugging a Node.js application in Docker 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 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 Docker supports Windows containers, too! Learn how to run ASP.NET, SQL Server, and more in these tutorials.
Docker Security How to take advantage of a Docker security features.
Building a 12-factor application with Docker 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 Run a Dockerized apt-cacher-ng instance.
CouchDB Run a Dockerized CouchDB instance.
Couchbase Run a Dockerized Couchbase instance.
Django + PostgreSQL Run a Dockerized Django + PostgreSQL environment.
MongoDB Run a Dockerized MongoDB instance.
PostgreSQL Run a Dockerized PosgreSQL instance.
Rails + PostgreSQL Run a Dockerized Rails + PostgreSQL environment.
Redis Run a Dockerized Redis instance.
Riak Run a Dockerized Riak instance.
SSHd Run a Dockerized SSHd instance.
WordPress Run a Dockerized WordPress instance.
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: