Using folder rather than file when map files into container

when mapping file from host to container, if the file doesn't exist, it
will become a folder. So map folder rather than file.

Change-Id: I053ff11d32948711c0e4c3241f56d1f6210348ac
Closes-Bug: #1720189
This commit is contained in:
Jeffrey Zhang 2017-09-29 00:51:14 +08:00 committed by Jeffrey Zhang
parent e6ea57970f
commit 78c498e786

View File

@ -20,7 +20,7 @@ skydive_services:
volumes:
- "{{ node_config_directory }}/skydive-agent/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"
- "/var/run/openvswitch/db.sock:/var/run/openvswitch/db.sock:ro"
- "/var/run/openvswitch:/var/run/openvswitch:ro"
- "/var/run/netns:/host/run:shared"
- "kolla_logs:/var/log/kolla/"