Merge "Late updates on integration deployment"
[oam.git] / docs / docker_enable_ipv6.rst
1 .. 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
5 Docker Enable IPv6
6 ==================
7
8 The O-RAN Alliance specifications target the support of IPv6.
9 To support IPv6 by docker the docker configuration must be modified. 
10
11 Please see:
12 https://docs.docker.com/config/daemon/ipv6/
13
14 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.
15
16 .. code-block:: json
17   :linenos:
18   :emphasize-lines: 12,13
19
20   {
21       "dns": ["1.1.1.1"],
22       "registry-mirrors": [
23           "https://nexus3.o-ran-sc.org:10002", 
24           "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
35 2. Reload the Docker configuration file.
36
37 .. code-block:: bash
38   :linenos:
39
40   $ systemctl reload docker
41
42