a36804fa677b3b33545151dd4e8d957d0cd14b74
[oam.git] / solution / integration / smo / common / docker / README.md
1 # Docker configuration
2
3 To support IPv6 the docker configuration must be modified. 
4
5 Please see:
6 https://docs.docker.com/config/daemon/ipv6/
7
8 1. Edit /etc/docker/daemon.json, set the ipv6 key to true and the fixed-cidr-v6 key to your IPv6 subnet. In this example we are setting it to 2001:db8:1::/64.
9
10
11 ```
12 {
13   "dns": ["1.1.1.1"],
14   "registry-mirrors": [
15       "https://nexus3.o-ran-sc.org:10004", 
16       "https://nexus3.onap.org:10001"
17   ],
18   "log-driver": "json-file",
19   "log-opts": {
20     "max-size": "10m",
21     "max-file": "3"
22   },
23   "ipv6": true,
24   "fixed-cidr-v6": "2001:db8:1::/64"
25 }
26 ```
27
28 2. Reload the Docker configuration file.
29
30 ```
31 $ systemctl reload docker
32 ```