docker部署项目访问宿主数据库

yum安装mariadbweb 启动数据库,docker 启动容器加 --net=host 来公用宿主机localhost数据库 docker run --net=host -p 8080:8080 hu/ttt
相关文章
相关标签/搜索