-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWIP.txt
More file actions
35 lines (24 loc) · 1.25 KB
/
WIP.txt
File metadata and controls
35 lines (24 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
This is a Work in Progress clipboard file.
Tasks to perform in order to make all things works.
On machine building images (jenkins as target solution):
1. Install docker, docker-machine, docker-composite
2. Set DOCKER_HOST (-H param on command line) for running images on the remote production hosts (optionally, or use -H tcp://remote:2375 param)
4. Install gradle
5. Install java 11
On production machine (cloud host):
1. Install docker, docker-machine, docker-composite
2. Configuring remote access (DANGEROUS):
- Use the command sudo systemctl edit docker.service to open an override file for docker.service in a text editor
- Add or modify the following lines, substituting your own values.
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://127.0.0.1:2375
- Save the file.
- Reload the systemctl configuration
sudo systemctl daemon-reload
- Restart Docker
sudo systemctl restart docker.service
- Check to see whether the change was honored by reviewing the output of netstat to confirm dockerd is listening on the configured port.
sudo netstat -lntp | grep dockerd
Git:
1. Create webhook for triggering push events to jenkins