2015-06-07 23:07:20 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "The Docker user guide"
|
|
|
|
description = "The Docker user guide home page"
|
2015-12-07 15:29:09 -05:00
|
|
|
keywords = ["docker, introduction, documentation, about, technology, docker.io, user, guide, user's, manual, platform, framework, home, intro"]
|
2015-06-07 23:07:20 -04:00
|
|
|
[menu.main]
|
|
|
|
parent = "mn_fun_docker"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2015-04-21 11:50:09 -04:00
|
|
|
# Welcome to the Docker user guide
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2015-11-22 20:15:39 -05:00
|
|
|
In the [Introduction](../misc/index.md) you got a taste of what Docker is and how it
|
2015-09-30 16:11:36 -04:00
|
|
|
works. This guide takes you through the fundamentals of using Docker and
|
|
|
|
integrating it into your environment. You'll learn how to use Docker to:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
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!
|
|
|
|
|
2015-09-30 16:11:36 -04:00
|
|
|
This guide is broken into major sections that take you through the Docker life
|
|
|
|
cycle:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
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
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Using Docker Hub](https://docs.docker.com/docker-hub).
|
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?*
|
|
|
|
|
2015-12-07 15:29:09 -05:00
|
|
|
Docker offers a containerization platform to power your applications. To learn
|
|
|
|
how to Dockerize applications and run them:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Dockerizing Applications](dockerizing.md).
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2015-09-30 16:11:36 -04:00
|
|
|
|
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:
|
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Working With Containers](usingdocker.md).
|
2014-05-21 17:05:19 -04:00
|
|
|
|
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.
|
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Working with Docker Images](dockerimages.md).
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2015-09-30 16:11:36 -04:00
|
|
|
## Networking containers
|
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
|
2015-09-30 16:11:36 -04:00
|
|
|
networking.
|
2015-09-28 21:57:03 -04:00
|
|
|
|
2015-09-30 16:11:36 -04:00
|
|
|
Go to [Networking Containers](networkingcontainers.md).
|
2014-05-21 17:05:19 -04:00
|
|
|
|
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.
|
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Managing Data in Containers](dockervolumes.md).
|
2014-05-21 17:05:19 -04:00
|
|
|
|
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
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Working with Docker Hub](dockerrepos.md).
|
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.
|
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Docker Compose user guide](https://docs.docker.com/compose/).
|
2015-02-25 18:46:55 -05:00
|
|
|
|
|
|
|
## 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.
|
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Docker Machine user guide](https://docs.docker.com/machine/).
|
2015-02-25 18:46:55 -05:00
|
|
|
|
|
|
|
## 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.
|
|
|
|
|
2015-10-09 19:50:41 -04:00
|
|
|
Go to [Docker Swarm user guide](https://docs.docker.com/swarm/).
|
2015-02-25 18:46:55 -05:00
|
|
|
|
2014-05-21 17:05:19 -04:00
|
|
|
## Getting help
|
|
|
|
|
2015-08-03 05:32:05 -04:00
|
|
|
* [Docker homepage](https://www.docker.com/)
|
2014-06-01 16:48:04 -04:00
|
|
|
* [Docker Hub](https://hub.docker.com)
|
2015-08-03 05:32:05 -04:00
|
|
|
* [Docker blog](https://blog.docker.com/)
|
2015-06-10 02:13:11 -04:00
|
|
|
* [Docker documentation](https://docs.docker.com/)
|
2015-08-03 05:32:05 -04:00
|
|
|
* [Docker Getting Started Guide](https://docs.docker.com/mac/started/)
|
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
|
2015-08-03 05:32:05 -04:00
|
|
|
* [Docker on Twitter](https://twitter.com/docker)
|
|
|
|
* Get [Docker help](https://stackoverflow.com/search?q=docker) on
|
2014-05-21 17:05:19 -04:00
|
|
|
StackOverflow
|
2015-08-03 05:32:05 -04:00
|
|
|
* [Docker.com](https://www.docker.com/)
|