Skip to content

Commit 3a82ade

Browse files
authored
[docker]: Enabled ipv6 in dockers when using docker bridge network (#4426)
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
1 parent bddd0d1 commit 3a82ade

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

files/build_templates/docker_image_ctl.j2

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ function postStartAction()
7474
{
7575
{%- if docker_container_name == "database" %}
7676
if [ "$DEV" ]; then
77+
docker exec -i database$DEV sysctl -w net.ipv6.conf.all.disable_ipv6=0
7778
link_namespace $DEV
7879
fi
7980
# Wait until redis starts

0 commit comments

Comments
 (0)