diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-01-19 12:04:33 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-01-19 12:04:33 +0800 |
commit | d54a004868ffdc838008e050b5840d415bc7d531 (patch) | |
tree | 1999c4c3ea86826cc597d76c541a9e887004023d | |
parent | 8ec10f60d0fc9bfc43fcea57d6c809646bd4a48a (diff) |
Fix mysql failure with overlay driver
JIRA: COMPASS-572
Add volume /var/lib/mysql to compass-db
Change-Id: I5f91e05f33241aa95d74147730b11553e6585033
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rw-r--r-- | compass-db/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compass-db/Dockerfile b/compass-db/Dockerfile index 82871b9..997c0ab 100644 --- a/compass-db/Dockerfile +++ b/compass-db/Dockerfile @@ -10,4 +10,6 @@ RUN apt-get update && \ COPY entrypoint.sh /sbin/entrypoint.sh RUN chmod 755 /sbin/entrypoint.sh +VOLUME ["/var/lib/mysql"] + CMD ["/sbin/entrypoint.sh"] |