2015-06-08 06:07:20 +03: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-22 01:05:19 +04:00
|
|
|
|
|
2015-04-21 18:50:09 +03:00
|
|
|
|
# Welcome to the Docker user guide
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-10-10 02:50:41 +03:00
|
|
|
|
In the [Introduction](../misc) you got a taste of what Docker is and how it
|
2014-05-22 01:05:19 +04:00
|
|
|
|
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 06:14:01 +03:00
|
|
|
|
* Dockerize your applications.
|
2014-05-22 01: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 18:50:09 +03:00
|
|
|
|
## Getting started with Docker Hub
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2014-06-02 00:48:04 +04:00
|
|
|
|
*How do I use Docker Hub?*
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2014-06-02 00:48:04 +04:00
|
|
|
|
Docker Hub is the central hub for Docker. It hosts public Docker images
|
2014-05-22 01:05:19 +04:00
|
|
|
|
and provides services to help you build and manage your Docker
|
2014-11-21 06:14:01 +03:00
|
|
|
|
environment. To learn more:
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-10-10 02:50:41 +03:00
|
|
|
|
Go to [Using Docker Hub](https://docs.docker.com/docker-hub).
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-04-21 18:50:09 +03:00
|
|
|
|
## Dockerizing applications: A "Hello world"
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
|
|
|
|
*How do I run applications inside containers?*
|
|
|
|
|
|
|
|
|
|
Docker offers a *container-based* virtualization platform to power your
|
2014-11-21 06:14:01 +03:00
|
|
|
|
applications. To learn how to Dockerize applications and run them:
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-10-10 02:50:41 +03:00
|
|
|
|
Go to [Dockerizing Applications](dockerizing.md).
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-04-21 18:50:09 +03:00
|
|
|
|
## Working with containers
|
2014-05-22 01: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-10 02:50:41 +03:00
|
|
|
|
Go to [Working With Containers](usingdocker.md).
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-04-21 18:50:09 +03:00
|
|
|
|
## Working with Docker images
|
2014-05-22 01: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-10 02:50:41 +03:00
|
|
|
|
Go to [Working with Docker Images](dockerimages.md).
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-04-21 18:50:09 +03:00
|
|
|
|
## Linking containers together
|
2014-05-22 01: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.
|
|
|
|
|
|
2015-10-10 02:50:41 +03:00
|
|
|
|
Go to [Linking Containers Together](dockerlinks.md).
|
2015-09-29 04:57:03 +03:00
|
|
|
|
|
|
|
|
|
## Docker container networking
|
|
|
|
|
|
|
|
|
|
Links provides a very easy and convenient way to connect the containers.
|
|
|
|
|
But, it is very opinionated and doesnt provide a lot of flexibility or
|
|
|
|
|
choice to the end-users. Now, lets learn about a flexible way to connect
|
|
|
|
|
containers together within a host or across multiple hosts in a cluster
|
|
|
|
|
using various networking technologies, with the help of extensible plugins.
|
|
|
|
|
|
2015-10-10 02:50:41 +03:00
|
|
|
|
Go to [Docker Networking](dockernetworks.md).
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-04-21 18:50:09 +03:00
|
|
|
|
## Managing data in containers
|
2014-05-22 01: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-10 02:50:41 +03:00
|
|
|
|
Go to [Managing Data in Containers](dockervolumes.md).
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2014-06-02 00:48:04 +04:00
|
|
|
|
## Working with Docker Hub
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
|
|
|
|
Now we've learned a bit more about how to use Docker we're going to see
|
2014-06-02 00:48:04 +04:00
|
|
|
|
how to combine Docker with the services available on Docker Hub including
|
|
|
|
|
Trusted Builds and private repositories.
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-10-10 02:50:41 +03:00
|
|
|
|
Go to [Working with Docker Hub](dockerrepos.md).
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|
2015-02-26 02:46:55 +03: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-10 02:50:41 +03:00
|
|
|
|
Go to [Docker Compose user guide](https://docs.docker.com/compose/).
|
2015-02-26 02:46:55 +03: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-10 02:50:41 +03:00
|
|
|
|
Go to [Docker Machine user guide](https://docs.docker.com/machine/).
|
2015-02-26 02:46:55 +03: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-10 02:50:41 +03:00
|
|
|
|
Go to [Docker Swarm user guide](https://docs.docker.com/swarm/).
|
2015-02-26 02:46:55 +03:00
|
|
|
|
|
2014-05-22 01:05:19 +04:00
|
|
|
|
## Getting help
|
|
|
|
|
|
2015-08-03 12:32:05 +03:00
|
|
|
|
* [Docker homepage](https://www.docker.com/)
|
2014-06-02 00:48:04 +04:00
|
|
|
|
* [Docker Hub](https://hub.docker.com)
|
2015-08-03 12:32:05 +03:00
|
|
|
|
* [Docker blog](https://blog.docker.com/)
|
2015-06-10 09:13:11 +03:00
|
|
|
|
* [Docker documentation](https://docs.docker.com/)
|
2015-08-03 12:32:05 +03:00
|
|
|
|
* [Docker Getting Started Guide](https://docs.docker.com/mac/started/)
|
2014-07-25 02:19:50 +04:00
|
|
|
|
* [Docker code on GitHub](https://github.com/docker/docker)
|
2014-05-22 01: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 12:32:05 +03:00
|
|
|
|
* [Docker on Twitter](https://twitter.com/docker)
|
|
|
|
|
* Get [Docker help](https://stackoverflow.com/search?q=docker) on
|
2014-05-22 01:05:19 +04:00
|
|
|
|
StackOverflow
|
2015-08-03 12:32:05 +03:00
|
|
|
|
* [Docker.com](https://www.docker.com/)
|
2014-05-22 01:05:19 +04:00
|
|
|
|
|