@@ -29,73 +29,42 @@ Make sure all the nodes you plan on installing DTR are being managed by UCP.
29
29
To install DTR you use the ` docker/dtr ` image. This image has commands to
30
30
install, configure, and backup DTR.
31
31
32
- To install DTR:
32
+ Run the following command to install DTR:
33
33
34
- 1 . Get the DTR package.
34
+ ``` bash
35
+ # Pull the latest version of DTR
36
+ $ docker pull docker/dtr
35
37
36
- ``` bash
37
- $ wget https://packages.docker.com/caas/ucp-2.0.0-beta3_dtr-2.1.0-beta3.tar.gz -O docker-datacenter.tar.gz
38
- ```
39
-
40
- 2. Transfer the package to the nodes.
38
+ # Install DTR
39
+ $ docker run -it --rm \
40
+ docker/dtr install \
41
+ --ucp-node < ucp-node-name> \
42
+ --ucp-insecure-tls
43
+ ```
41
44
42
- Now that you have the DTR package in your machine, you can transfer it to the
43
- nodes that you want to install DTR. For each node run:
44
-
45
- ` ` ` bash
46
- $ scp docker-datacenter.tag.gz < user> @< host> :/tmp
47
- ` ` `
48
-
49
- 3. Load the images.
50
-
51
- Once the package is on the nodes where you want to install DTR, you can use
52
- the ` docker load` command, to load the images from the .tar file. Log
53
- into each node where you plan on installing DTR and run:
54
-
55
- ` ` ` bash
56
- $ docker load < /tmp/docker-datacenter.tar.gz
57
- ` ` `
45
+ Where the ` --ucp-node ` is the hostname of the UCP node where you want to deploy
46
+ DTR. ` --ucp-insecure-tls ` tells the installer to trust the certificates used
47
+ by UCP.
58
48
59
- 4. Download a UCP client bundle.
49
+ The install command has other flags for customizing DTR at install time.
50
+ Check the [ reference documentation to learn more] ( ../reference/install.md ) .
60
51
61
- Having a UCP client bundle allows you to run Docker commands on a swarm
62
- being managed by UCP.
63
- [Download a UCP client bundle](https://docs.docker.com/ucp/access-ucp/cli-based-access/)
64
- and set up your CLI client to use it.
65
52
66
- 5. Run the following commands to install DTR.
53
+ ## Step 4. Check that DTR is running
67
54
68
- ` ` ` bash
69
-
70
- # Install DTR
71
- $ docker run -it --rm \
72
- docker/dtr:2.1.0-beta3 install \
73
- --ucp-node < hostname> \
74
- --ucp-insecure-tls
75
- ` ` `
76
-
77
- Where the ` --ucp-node` is the hostname of the node where you' ve previously
78
- loaded the DTR images, and `--ucp-insecure-tls` tells the installer to
79
- trust the certificates used by UCP.
80
- The install command has other flags for customizing DTR at install time.
81
- Check the [reference documentation to learn more](../reference/install.md).
82
-
83
-
84
- 6. Check that DTR is running.
85
-
86
- In your browser, navigate to the the Docker **Universal Control Plane**
87
- web UI, and navigate to the **Applications** screen. DTR should be listed
88
- as an application.
55
+ In your browser, navigate to the the Docker ** Universal Control Plane**
56
+ web UI, and navigate to the ** Applications** screen. DTR should be listed
57
+ as an application.
89
58
90
- 
59
+ ![ ] ( ../images/install-dtr-1.png )
91
60
92
- You can also access the **DTR web UI**, to make sure it is working. In your
93
- browser, navigate to the address were you installed DTR.
61
+ You can also access the ** DTR web UI** , to make sure it is working. In your
62
+ browser, navigate to the address were you installed DTR.
94
63
95
- 
64
+ ![ ] ( ../images/install-dtr-2.png )
96
65
97
66
98
- ## Step 4 . Configure DTR
67
+ ## Step 5 . Configure DTR
99
68
100
69
After installing DTR, you should configure:
101
70
@@ -107,13 +76,13 @@ After installing DTR, you should configure:
107
76
108
77
![ ] ( ../images/install-dtr-3.png )
109
78
110
- ## Step 5 . Test pushing and pulling
79
+ ## Step 6 . Test pushing and pulling
111
80
112
81
Now that you have a working installation of DTR, you should test that you can
113
82
push and pull images to it.
114
83
[ Learn how to push and pull images] ( ../repos-and-images/index.md ) .
115
84
116
- ## Step 6 . Join replicas to the cluster
85
+ ## Step 7 . Join replicas to the cluster
117
86
118
87
This step is optional.
119
88
@@ -143,7 +112,7 @@ replicas:
143
112
``` bash
144
113
$ docker run -it --rm \
145
114
docker/dtr:2.1.0-beta3 join \
146
- --ucp-node < hostname > \
115
+ --ucp-node < ucp-node-name > \
147
116
--ucp-insecure-tls
148
117
```
149
118
0 commit comments