|
|
@@ -12,9 +12,15 @@ sentence-transformers==4.1.0
|
|
|
- 7、容器加载 docker load -i lq_agent_platform_v0.1.img
|
|
|
- 8、容器启动
|
|
|
|
|
|
+ 192.168.0.3
|
|
|
+
|
|
|
docker run --name=LQAgentServer -d --memory="4096m" --memory-swap="5000m" --cpus="3" --cpuset-cpus="0-2" --restart=always -p 8001:8001 -v /home/cjb/lq_workspace/app/LqAgentServer/config:/app/config/ -v /home/cjb/lq_workspace/app/LqAgentServer/gunicorn_log/:/app/gunicorn_log/ -v /home/cjb/lq_workspace/app/LqAgentServer/logs/:/app/logs/ --network=host lq_agent_platform_server:v0.1
|
|
|
|
|
|
|
|
|
+ 192.168.0.5
|
|
|
+ docker run --name=LQAgentServer -d --memory="4096m" --memory-swap="5000m" --cpus="3" --cpuset-cpus="0-2" --restart=always -p 8001:8001 -v /home/admin/lq_workspace/app/LqAgentServer/config:/app/config/ -v /home/admin/lq_workspace/app/LqAgentServer/gunicorn_log/:/app/gunicorn_log/ -v /home/admin/lq_workspace/app/LqAgentServer/logs/:/app/logs/ --network=host lq_agent_platform_server:v0.1
|
|
|
+
|
|
|
+
|
|
|
|
|
|
- 9、容器copy文件
|
|
|
- 进入容器查看文件:docker exec -it LQAgentServer /bin/sh
|