|
| 1 | +--- |
| 2 | +title: Try Docker Datacenter |
| 3 | +description: Learn how to get a trial license and install Docker Datacenter |
| 4 | +keywords: docker, datacenter, install, orchestration |
| 5 | +--- |
| 6 | + |
| 7 | +The best way to try Docker Datacenter for yourself is to get the [30-day |
| 8 | +trial available at the Docker Store](https://store.docker.com/bundles/docker-datacenter). |
| 9 | + |
| 10 | +Once you get your trial license, you can install Docker Datacenter in your |
| 11 | +Linux servers.Make sure all the hosts you want to manage in with Docker |
| 12 | +Datacenter have a minimum of: |
| 13 | + |
| 14 | +* Linux kernel version 3.10 or higher |
| 15 | +* CS Docker Engine version 1.12.1 or higher |
| 16 | +* 2.00 GB of RAM |
| 17 | +* 3.00 GB of available disk space |
| 18 | + |
| 19 | +Also make sure the hosts are running one of these operating systems: |
| 20 | + |
| 21 | +* CentOS 7.1 or 7.2 |
| 22 | +* Red Hat Enterprise Linux 7.0, 7.1, or 7.2 |
| 23 | +* Ubuntu 14.04 LTS |
| 24 | +* SUSE Linux Enterprise 12 |
| 25 | + |
| 26 | +[Learn more about the Docker Datacenter system requirements](ucp/2.0/guides/installation/system-requirements.md) |
| 27 | + |
| 28 | + |
| 29 | +### Step 2: Install CS Docker Engine |
| 30 | + |
| 31 | +Install the commercially supported Docker Engine on all hosts you want to manage |
| 32 | +with Docker Datacenter. |
| 33 | + |
| 34 | +Log in into each node using ssh, and install CS Docker Engine: |
| 35 | + |
| 36 | +```bash |
| 37 | +curl -SLf https://packages.docker.com/1.12/install.sh | sh |
| 38 | +``` |
| 39 | + |
| 40 | +[You can also install CS Docker Engine using a package manager](../cs-engine/install.md) |
| 41 | + |
| 42 | +### Step 3: Install Universal Control Plane |
| 43 | + |
| 44 | +Docker Universal Control Plane (UCP) allows managing from a centralized place |
| 45 | +your images, applications, networks, and other computing resources. |
| 46 | + |
| 47 | +Use ssh to log in into the host where you want to install UCP and run: |
| 48 | + |
| 49 | +```none |
| 50 | +docker run --rm -it --name ucp \ |
| 51 | + -v /var/run/docker.sock:/var/run/docker.sock \ |
| 52 | + docker/ucp install \ |
| 53 | + --host-address <node-ip-address> \ |
| 54 | + --interactive |
| 55 | +``` |
| 56 | + |
| 57 | +This runs the install command in interactive mode, so that you're prompted |
| 58 | +for any necessary configuration values. |
| 59 | + |
| 60 | +### Step 4: License your installation |
| 61 | + |
| 62 | +Now that UCP is installed, you need to license it. In your browser, navigate |
| 63 | +to the UCP web UI and upload your license. |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | +[Get a free trial license if you don't have one](https://store.docker.com/bundles/docker-datacenter). |
| 68 | + |
| 69 | +### Step 5: Join more nodes to UCP |
| 70 | + |
| 71 | +Join more nodes so that you can manage them from UCP. |
| 72 | +Go to the **UCP web UI**, navigate to the **Resources** page, and go to |
| 73 | +the **Nodes** section. |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | +Click the **Add Node button** to add a new node. |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | +Check the 'Add node as a manager' option to join the node as a manager |
| 83 | +to provide replication and make UCP highly available. For an highly available |
| 84 | +installation, make sure you have 3, 5, or 7 manager nodes. |
| 85 | + |
| 86 | +Copy the command to your clipboard, and run in on every node that you want |
| 87 | +to be managed by UCP. After you run the command in the node, the node |
| 88 | +will show up in the UP web UI. |
| 89 | + |
| 90 | +### Step 6: Install Docker Trusted Registry |
| 91 | + |
| 92 | +Docker Trusted Registry (DTR) is a private image registry so that you can |
| 93 | +manage who has access to your Docker images. DTR needs to be installed on |
| 94 | +a node that is being managed by UCP. |
| 95 | + |
| 96 | +Use ssh to log in into the host where you already installed UCP, and run: |
| 97 | + |
| 98 | +```none |
| 99 | +docker run -it --rm \ |
| 100 | + docker/dtr install \ |
| 101 | + --ucp-node <node-hostname> \ |
| 102 | + --ucp-insecure-tls |
| 103 | +``` |
| 104 | + |
| 105 | +Where the `--ucp-node` is the hostname of the UCP node where you want to deploy |
| 106 | +DTR. `--ucp-insecure-tls` tells the installer to trust the certificates used |
| 107 | +by UCP. |
| 108 | + |
| 109 | +## Where to go next |
| 110 | + |
| 111 | +* [Create and manage users](ucp/2.0/guides/user-management/create-and-manage-users.md) |
| 112 | +* [Deploy an application](ucp/2.0/guides/applications/index.md) |
| 113 | +* [Push an image to DTR](dtr/2.1/guides/repos-and-images/push-an-image.md) |
0 commit comments