Samples

Estimated reading time: 2 minutes

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.
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 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.
.Net Core application Run a Dockerized ASP.NET Core application.
ASP.NET Core + SQL Server on Linux Run a Dockerized ASP.NET Core + SQL Server environment.
CouchDB Run a Dockerized CouchDB instance.
Django + PostgreSQL Run a Dockerized Django + PostgreSQL environment.
PostgreSQL Run a Dockerized PostgreSQL instance.
Rails + PostgreSQL Run a Dockerized Rails + PostgreSQL environment.
Riak Run a Dockerized Riak instance.
WordPress Quickstart: Compose and WordPress.

Samples and documentation for official Docker images

For samples and detailed information about official Docker images, refer to the documentation for each image on Docker Hub.