2015-04-21 11:50:09 -04:00
|
|
|
|
page_title: The Docker user guide
|
|
|
|
|
page_description: The Docker user guide home page
|
2014-05-21 17:05:19 -04:00
|
|
|
|
page_keywords: docker, introduction, documentation, about, technology, docker.io, user, guide, user's, manual, platform, framework, virtualization, home, intro
|
|
|
|
|
|
2015-04-21 11:50:09 -04:00
|
|
|
|
# Welcome to the Docker user guide
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
|
In the [Introduction](/) you got a taste of what Docker is and how it
|
|
|
|
|
works. In this guide we're going to take you through the fundamentals of
|
|
|
|
|
using Docker and integrating it into your environment.
|
|
|
|
|
|
|
|
|
|
We’ll teach you how to use Docker to:
|
|
|
|
|
|
2014-11-20 22:14:01 -05:00
|
|
|
|
* Dockerize your applications.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
* Run your own containers.
|
|
|
|
|
* Build Docker images.
|
|
|
|
|
* Share your Docker images with others.
|
|
|
|
|
* And a whole lot more!
|
|
|
|
|
|
|
|
|
|
We've broken this guide into major sections that take you through
|
|
|
|
|
the Docker life cycle:
|
|
|
|
|
|
2015-04-21 11:50:09 -04:00
|
|
|
|
## Getting started with Docker Hub
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
2014-06-01 16:48:04 -04:00
|
|
|
|
*How do I use Docker Hub?*
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
2014-06-01 16:48:04 -04:00
|
|
|
|
Docker Hub is the central hub for Docker. It hosts public Docker images
|
2014-05-21 17:05:19 -04:00
|
|
|
|
and provides services to help you build and manage your Docker
|
2014-11-20 22:14:01 -05:00
|
|
|
|
environment. To learn more:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
2014-06-01 16:48:04 -04:00
|
|
|
|
Go to [Using Docker Hub](/userguide/dockerhub).
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
2015-04-21 11:50:09 -04:00
|
|
|
|
## Dockerizing applications: A "Hello world"
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
|
*How do I run applications inside containers?*
|
|
|
|
|
|
|
|
|
|
Docker offers a *container-based* virtualization platform to power your
|
2014-11-20 22:14:01 -05:00
|
|
|
|
applications. To learn how to Dockerize applications and run them:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
|
Go to [Dockerizing Applications](/userguide/dockerizing).
|
|
|
|
|
|
2015-04-21 11:50:09 -04:00
|
|
|
|
## Working with containers
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
|
*How do I manage my containers?*
|
|
|
|
|
|
|
|
|
|
Once you get a grip on running your applications in Docker containers
|
|
|
|
|
we're going to show you how to manage those containers. To find out
|
|
|
|
|
about how to inspect, monitor and manage containers:
|
|
|
|
|
|
|
|
|
|
Go to [Working With Containers](/userguide/usingdocker).
|
|
|
|
|
|
2015-04-21 11:50:09 -04:00
|
|
|
|
## Working with Docker images
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
|
*How can I access, share and build my own images?*
|
|
|
|
|
|
|
|
|
|
Once you've learnt how to use Docker it's time to take the next step and
|
|
|
|
|
learn how to build your own application images with Docker.
|
|
|
|
|
|
2014-11-20 22:14:01 -05:00
|
|
|
|
Go to [Working with Docker Images](/userguide/dockerimages).
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
2015-04-21 11:50:09 -04:00
|
|
|
|
## Linking containers together
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
|
Until now we've seen how to build individual applications inside Docker
|
|
|
|
|
containers. Now learn how to build whole application stacks with Docker
|
|
|
|
|
by linking together multiple Docker containers.
|
|
|
|
|
|
|
|
|
|
Go to [Linking Containers Together](/userguide/dockerlinks).
|
|
|
|
|
|
2015-04-21 11:50:09 -04:00
|
|
|
|
## Managing data in containers
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
|
Now we know how to link Docker containers together the next step is
|
|
|
|
|
learning how to manage data, volumes and mounts inside our containers.
|
|
|
|
|
|
|
|
|
|
Go to [Managing Data in Containers](/userguide/dockervolumes).
|
|
|
|
|
|
2014-06-01 16:48:04 -04:00
|
|
|
|
## Working with Docker Hub
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
|
Now we've learned a bit more about how to use Docker we're going to see
|
2014-06-01 16:48:04 -04:00
|
|
|
|
how to combine Docker with the services available on Docker Hub including
|
|
|
|
|
Trusted Builds and private repositories.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
2014-06-01 16:48:04 -04:00
|
|
|
|
Go to [Working with Docker Hub](/userguide/dockerrepos).
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
2015-02-25 18:46:55 -05:00
|
|
|
|
## Docker Compose
|
|
|
|
|
|
|
|
|
|
Docker Compose allows you to define a application's components -- their containers,
|
|
|
|
|
configuration, links and volumes -- in a single file. Then a single command
|
|
|
|
|
will set everything up and start your application running.
|
|
|
|
|
|
|
|
|
|
Go to [Docker Compose user guide](/compose/).
|
|
|
|
|
|
|
|
|
|
## Docker Machine
|
|
|
|
|
|
|
|
|
|
Docker Machine helps you get Docker Engines up and running quickly. Machine
|
|
|
|
|
can set up hosts for Docker Engines on your computer, on cloud providers,
|
|
|
|
|
and/or in your data center, and then configure your Docker client to securely
|
|
|
|
|
talk to them.
|
|
|
|
|
|
|
|
|
|
Go to [Docker Machine user guide](/machine/).
|
|
|
|
|
|
|
|
|
|
## Docker Swarm
|
|
|
|
|
|
|
|
|
|
Docker Swarm pools several Docker Engines together and exposes them as a single
|
|
|
|
|
virtual Docker Engine. It serves the standard Docker API, so any tool that already
|
|
|
|
|
works with Docker can now transparently scale up to multiple hosts.
|
|
|
|
|
|
|
|
|
|
Go to [Docker Swarm user guide](/swarm/).
|
|
|
|
|
|
2014-05-21 17:05:19 -04:00
|
|
|
|
## Getting help
|
|
|
|
|
|
2014-07-01 20:30:25 -04:00
|
|
|
|
* [Docker homepage](http://www.docker.com/)
|
2014-06-01 16:48:04 -04:00
|
|
|
|
* [Docker Hub](https://hub.docker.com)
|
2014-07-01 20:30:25 -04:00
|
|
|
|
* [Docker blog](http://blog.docker.com/)
|
|
|
|
|
* [Docker documentation](http://docs.docker.com/)
|
|
|
|
|
* [Docker Getting Started Guide](http://www.docker.com/gettingstarted/)
|
2014-07-24 18:19:50 -04:00
|
|
|
|
* [Docker code on GitHub](https://github.com/docker/docker)
|
2014-05-21 17:05:19 -04:00
|
|
|
|
* [Docker mailing
|
|
|
|
|
list](https://groups.google.com/forum/#!forum/docker-user)
|
|
|
|
|
* Docker on IRC: irc.freenode.net and channel #docker
|
|
|
|
|
* [Docker on Twitter](http://twitter.com/docker)
|
|
|
|
|
* Get [Docker help](http://stackoverflow.com/search?q=docker) on
|
|
|
|
|
StackOverflow
|
|
|
|
|
* [Docker.com](http://www.docker.com/)
|
|
|
|
|
|