blob: 34ca7be693dc14921abbcadbea6e9146b96796d9 [file] [log] [blame]
demx8as6aca16f72021-05-08 15:58:54 +02001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. SPDX-License-Identifier: CC-BY-4.0
3.. Copyright (C) 2020 highstreet technologies and others
4
5Docker Enable IPv6
6==================
7
8The O-RAN Alliance specifications target the support of IPv6.
9To support IPv6 by docker the docker configuration must be modified.
10
11Please see:
12https://docs.docker.com/config/daemon/ipv6/
13
141. 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.
15
16.. code-block:: json
17 :linenos:
18 :emphasize-lines: 12,13
19
20 {
21 "dns": ["1.1.1.1"],
22 "registry-mirrors": [
demx8as6f14f92a2021-08-05 11:33:56 +020023 "https://nexus3.o-ran-sc.org:10002",
demx8as6aca16f72021-05-08 15:58:54 +020024 "https://nexus3.onap.org:10001"
25 ],
26 "log-driver": "json-file",
27 "log-opts": {
28 "max-size": "10m",
29 "max-file": "3"
30 },
31 "ipv6": true,
32 "fixed-cidr-v6": "2001:db8:1::/64"
33 }
34
352. Reload the Docker configuration file.
36
37.. code-block:: bash
38 :linenos:
39
40 $ systemctl reload docker
41
42