You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
我创建容器的命令:
docker run -itd --name stock0
-v /data/stock0/notebooks:/data/notebooks
-v /data/stock0/logs:/data/logs
-v /data/stock0/jobs:/data/stock/jobs
-v /data/stock0/libs:/data/stock/libs
-v /data/stock0/web:/data/stock/web *
-p 9099:8888
-p 9098:9999
-e MYSQL_HOST=192.168.*.68
-e MYSQL_USER=stock
-e MYSQL_PWD=stock****
-e MYSQL_DB=stock_data0
pythonstock/pythonstock:latest
我不挂载:
-v /data/stock0/jobs:/data/stock/jobs
-v /data/stock0/libs:/data/stock/libs
-v /data/stock0/web:/data/stock/web
这3个目录,容器启动就会创建3个表,能在/data/stock0/logs目录查看到程序运行产生的日志文件
加上(对应目录文件我都上传到相应目录并用docker stop stock0于docker start stock0命令停止+重启容器)就不创建表+无日志文件输出,这是什么原因?
我的linux系统信息:
The text was updated successfully, but these errors were encountered: