Re:Why Databases Are Not for Docker Containers
by user5994461 on Monday February 06, 2017 @07:07PM
(#13585670)
FYI: The networks and the disks are entirely abstracted, with multiple extremely complex abstraction layers.
[ Parent
| on HN ]
Re:Why Databases Are Not for Docker Containers
by brobinson on Monday February 06, 2017 @09:28PM
(#13586451)
Not necessarily. You could use --net=host and -v /db_data:/db_data (equivalent of `sudo mount --bind /db_data /the/containers/root/fs/dir/db_data`)
Run like this, there is no disk or network performance difference between running the db process directly on the host or via a Docker container.
As others have mentioned, this is a really poor article.