[multiasic][database]database.sh failed to create the database for namespace (#9502)
Why I did it database.sh failed to create the database for namespace in multiasic platform. The latest code Docker version 20.10.x, command "docker create" no longer takes optional "NET=" with empty value. Syntax error show with current docker create command in database.sh. Issue #9503 How I did it Modify the docker_image_ctl.j2 to set default network setting NET="bridge" instead of empty for namespace database.
This commit is contained in:
parent
c2b60bda71
commit
4783268902
@ -368,6 +368,7 @@ start() {
|
||||
fi
|
||||
|
||||
{%- if docker_container_name == "database" %}
|
||||
NET="bridge"
|
||||
DB_OPT=$DB_OPT" -v /var/run/redis$DEV:/var/run/redis:rw "
|
||||
{%- else %}
|
||||
NET="container:database$DEV"
|
||||
|
Loading…
Reference in New Issue
Block a user