Skip to content

Commit dc04804

Browse files
committed
Mount all database to other containers
Signed-off-by: Ze Gan <[email protected]>
1 parent 9b7d70c commit dc04804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/build_templates/docker_image_ctl.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ start() {
502502
redis_dir_list=`/usr/bin/python -c "import sys; import os; import json; f=open(sys.argv[1]); \
503503
global_db_dir = os.path.dirname(sys.argv[1]); data=json.load(f); \
504504
print(\" \".join([os.path.normpath(global_db_dir+'/'+elem['include']).partition('sonic-db')[0]\
505-
for elem in data['INCLUDES'] if 'namespace' in elem])); f.close()" $SONIC_DB_GLOBAL_JSON`
505+
for elem in data['INCLUDES'] if 'namespace' in elem or 'container_name' in elem ])); f.close()" $SONIC_DB_GLOBAL_JSON`
506506
fi
507507

508508
{%- if docker_container_name == "database" %}

0 commit comments

Comments
 (0)