Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web-serving: Apply workaround for mysql on overlayfs
Database container under web-serving benchmark fails to start mysqld on startup with below error message when it uses overlayfs. ``` [ERROR] Fatal error: Can't open and lock privilege tables: Got error 140 from storage engine ``` The problem comes from POSIX break of overlayfs[1]. There is well known two workarounds[2] for this problem. 1) add /var/lib/mysql volume, 2) touch files under /var/lib/mysql once. Because first workaround makes unnecessary volume and second workaround is documented in Docker official document, second workaround would be better. This commit applies the workaround. [1] docker/for-linux#72 [2] docker/for-linux#72 (comment) [3] https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/#limitations-on-overlayfs-compatibility Signed-off-by: SeongJae Park <[email protected]>
- Loading branch information