Samples

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.

SampleDescription
Docker for BeginnersA good “Docker 101” course.
Docker Swarm modeUse Docker for natively managing a cluster of Docker Engines called a swarm.
Configuring developer tools and programming languagesHow to set-up and use common developer tools and programming languages with Docker.
Live Debugging Java with DockerJava 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 DevelopersOffers Java developers an intro-level and self-paced hands-on workshop with Docker.
Live Debugging a Node.js application in DockerNode 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 applicationThis 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 containersDocker supports Windows containers, too! Learn how to run ASP.NET, SQL Server, and more in these tutorials.
Docker SecurityHow to take advantage of Docker security features.
Building a 12-factor application with DockerUse Docker to create an app that conforms to Heroku’s “12 factors for cloud-native applications.”

Sample applications

Run popular software using Docker.

SampleDescription
apt-cacher-ngRun a Dockerized apt-cacher-ng instance.
.Net Core applicationRun a Dockerized ASP.NET Core application.
ASP.NET Core + SQL Server on LinuxRun a Dockerized ASP.NET Core + SQL Server environment.
CouchDBRun a Dockerized CouchDB instance.
Django + PostgreSQLRun a Dockerized Django + PostgreSQL environment.
PostgreSQLRun a Dockerized PostgreSQL instance.
Rails + PostgreSQLRun a Dockerized Rails + PostgreSQL environment.
RiakRun a Dockerized Riak instance.
WordPressQuickstart: 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.