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

[Question]: deploy infinity server using docker failed #2140

Open
ShenweiXie opened this issue Oct 31, 2024 · 5 comments
Open

[Question]: deploy infinity server using docker failed #2140

ShenweiXie opened this issue Oct 31, 2024 · 5 comments
Labels
question Further information is requested

Comments

@ShenweiXie
Copy link

Describe your problem

Using command "docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:nightly -f /var/infinity/infinity_conf.toml", the container exits at once.
if using command "docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:nightly", the container runs with no port open.

@ShenweiXie ShenweiXie added the question Further information is requested label Oct 31, 2024
@JinHai-CN
Copy link
Contributor

Do you check the logs output by the container? Use docker container <CONTAINER ID> to print the log

@JinHai-CN
Copy link
Contributor

First command: might be failed due to no infinity_conf.toml in directory of /var/infinity
Second command: --network=host will use host network card.

Describe your problem

Using command "docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:nightly -f /var/infinity/infinity_conf.toml", the container exits at once. if using command "docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:nightly", the container runs with no port open.

@JinHai-CN
Copy link
Contributor

#2153 Fix no config file error on document.

@ShenweiXie
Copy link
Author

It seems that when I use the second command, it works fine without showing the container's port. However, the first command still failed.

@ShenweiXie
Copy link
Author

Do you check the logs output by the container? Use docker container <CONTAINER ID> to print the log

Yes, I've checked that. Nothing wrong was reported.

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

No branches or pull requests

2 participants