search

Home  >  Q&A  >  body text

docker - mysql安装在容器里,mysql数据文件放容器里好,好是通过volumn挂载比较好呢?

大家说下自己的意见吧:)

怪我咯怪我咯2769 days ago632

reply all(3)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-04-26 09:03:19

    It is recommended to use the volume mounting method, which can more conveniently manage and back up database files, and there will be no problem of data loss after all containers are deleted

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-26 09:03:19

    Mount through volume during development, and put it directly into the container after going online

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-26 09:03:19

    volumn mount

    reply
    0
  • Cancelreply