2015-06-08 03:07:20 +00:00
|
|
|
|
<!--[metadata]>
|
|
|
|
|
+++
|
|
|
|
|
title = "The Docker user guide"
|
|
|
|
|
description = "The Docker user guide home page"
|
|
|
|
|
keywords = ["docker, introduction, documentation, about, technology, docker.io, user, guide, user's, manual, platform, framework, virtualization, home, intro"]
|
|
|
|
|
[menu.main]
|
|
|
|
|
parent = "mn_fun_docker"
|
|
|
|
|
+++
|
|
|
|
|
<![end-metadata]-->
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
2015-04-21 15:50:09 +00:00
|
|
|
|
# Welcome to the Docker user guide
|
2014-05-21 21:05:19 +00: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-21 03:14:01 +00:00
|
|
|
|
* Dockerize your applications.
|
2014-05-21 21:05:19 +00: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 15:50:09 +00:00
|
|
|
|
## Getting started with Docker Hub
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
2014-06-01 20:48:04 +00:00
|
|
|
|
*How do I use Docker Hub?*
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
2014-06-01 20:48:04 +00:00
|
|
|
|
Docker Hub is the central hub for Docker. It hosts public Docker images
|
2014-05-21 21:05:19 +00:00
|
|
|
|
and provides services to help you build and manage your Docker
|
2014-11-21 03:14:01 +00:00
|
|
|
|
environment. To learn more:
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
2014-06-01 20:48:04 +00:00
|
|
|
|
Go to [Using Docker Hub](/userguide/dockerhub).
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
2015-04-21 15:50:09 +00:00
|
|
|
|
## Dockerizing applications: A "Hello world"
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
|
|
|
|
*How do I run applications inside containers?*
|
|
|
|
|
|
|
|
|
|
Docker offers a *container-based* virtualization platform to power your
|
2014-11-21 03:14:01 +00:00
|
|
|
|
applications. To learn how to Dockerize applications and run them:
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
|
|
|
|
Go to [Dockerizing Applications](/userguide/dockerizing).
|
|
|
|
|
|
2015-04-21 15:50:09 +00:00
|
|
|
|
## Working with containers
|
2014-05-21 21:05:19 +00: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 15:50:09 +00:00
|
|
|
|
## Working with Docker images
|
2014-05-21 21:05:19 +00: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-21 03:14:01 +00:00
|
|
|
|
Go to [Working with Docker Images](/userguide/dockerimages).
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
2015-04-21 15:50:09 +00:00
|
|
|
|
## Linking containers together
|
2014-05-21 21:05:19 +00: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 15:50:09 +00:00
|
|
|
|
## Managing data in containers
|
2014-05-21 21:05:19 +00: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 20:48:04 +00:00
|
|
|
|
## Working with Docker Hub
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
|
|
|
|
Now we've learned a bit more about how to use Docker we're going to see
|
2014-06-01 20:48:04 +00:00
|
|
|
|
how to combine Docker with the services available on Docker Hub including
|
|
|
|
|
Trusted Builds and private repositories.
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
2014-06-01 20:48:04 +00:00
|
|
|
|
Go to [Working with Docker Hub](/userguide/dockerrepos).
|
2014-05-21 21:05:19 +00:00
|
|
|
|
|
2015-02-25 23:46:55 +00: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 21:05:19 +00:00
|
|
|
|
## Getting help
|
|
|
|
|
|
2014-07-02 00:30:25 +00:00
|
|
|
|
* [Docker homepage](http://www.docker.com/)
|
2014-06-01 20:48:04 +00:00
|
|
|
|
* [Docker Hub](https://hub.docker.com)
|
2014-07-02 00:30:25 +00:00
|
|
|
|
* [Docker blog](http://blog.docker.com/)
|
2015-06-10 06:13:11 +00:00
|
|
|
|
* [Docker documentation](https://docs.docker.com/)
|
2014-07-02 00:30:25 +00:00
|
|
|
|
* [Docker Getting Started Guide](http://www.docker.com/gettingstarted/)
|
2014-07-24 22:19:50 +00:00
|
|
|
|
* [Docker code on GitHub](https://github.com/docker/docker)
|
2014-05-21 21:05:19 +00: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/)
|
|
|
|
|
|