Skip to content

Commit

Permalink
[docker]: Enabled ipv6 in dockers when using docker bridge network (#…
Browse files Browse the repository at this point in the history
…4426)

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
  • Loading branch information
arlakshm authored and abdosi committed Apr 27, 2020
1 parent 5054f43 commit 542f722
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/build_templates/docker_image_ctl.j2
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function postStartAction()
{
{%- if docker_container_name == "database" %}
if [ "$DEV" ]; then
docker exec -i database$DEV sysctl -w net.ipv6.conf.all.disable_ipv6=0
link_namespace $DEV
fi
# Wait until redis starts
Expand Down

0 comments on commit 542f722

Please sign in to comment.