Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paddle gpu版本docker镜像如何后台启动 #70951

Open
amzfc opened this issue Jan 22, 2025 · 2 comments
Open

paddle gpu版本docker镜像如何后台启动 #70951

amzfc opened this issue Jan 22, 2025 · 2 comments
Assignees
Labels

Comments

@amzfc
Copy link

amzfc commented Jan 22, 2025

请提出你的问题 Please ask your question

服务器配置 ubuntu 22.04,A6000
镜像:registry.baidubce.com/paddlepaddle/paddle:3.0.0b1-gpu-cuda11.8-cudnn8.6-trt8.5
执行命令:
docker tag xxx paddle:3.0-gpu-cuda11.8

docker run -d --gpus all --name paddle_docker -v $PWD:/paddle --network=host paddle:3.0-gpu-cuda11.8

日志:

问题:容器无法后台运行。另外交互式运行命令是可行的。docker run --gpus all --name paddle_docker -v $PWD:/paddle --network=host -it paddle:3.0-gpu-cuda11.8 /bin/bash

@amzfc amzfc added status/new-issue 新建 type/question 用户提问 labels Jan 22, 2025
@amzfc
Copy link
Author

amzfc commented Jan 22, 2025

容器日志:

Image

@amzfc
Copy link
Author

amzfc commented Jan 22, 2025

使用 docker run -dit 是可以的 - -
docker run --network=host --gpus all --name paddle_docker2 -v $PWD:/paddle -dit paddle:3.0-gpu-cuda11.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants