Add helpful docker DNS setting
Taylor committed
Jan 31, 2024 at 13:50 UTC
9272c8acca1ac63b125195f5918660a3ed8d3eb4
1 file changed
+15
README.md
+15
@@ -42,6 +42,21 @@ To ease the installation and upgrades, Copilot is shipped in a single docker con
42
43
❗ **WARNING:** Copilot is not intended to be exposed to the internet. It is recommended for internal use only.
44
45
+🔴 - Helpful docker DNS setting
46
+
47
+```
48
+nano /etc/docker/daemon.json
49
+```
50
+
51
+```json
52
+{"dns": ["YOUR_DNS_SERVER"], "log-driver": "json-file", "log-opts": {"max-size": "10m", "max-file": "3"}}
53
+```
54
+
55
+```
56
+systemctl daemon-reload
57
+systemctl restart docker
58
+```
59
+--------------------------------------
60
```bash
61
# Clone the CoPilot repository
62
git clone https://github.com/socfortress/CoPilot