-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
My container automatically exited same docker image i have used in a another host machine their it is working fine #5129
Comments
Hi
what information you need please mentioned. |
@thaJeztah can you please help me on this ? what information do you need can you tell me ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hi
i have ran multiple container on my host machine those are mysql , and npm container . after running some time it is automatically exited , but same image i am ruuning on another machine it is running fine.
here i am proving the logs by running again this container and it is not exited yet and getting this error and i am able to access this application server which is running inside this container . but it will exited after sometime automatically and i don't have logs of already exited container .
and i have checked inside docker container where my container got exited and got this npm file
but in logs showing this file is not present “npm error A complete log of this run can be found in: /root/.npm/_logs/2024-06-06T06_34_07_377Z-debug-0.log” which i don;t know why, may be it is not able to write this file inside conatiner.
i have checked this file is not present inside my conatiner and also host machine “/root/.npm/_logs/2024-06-06T06_34_07_377Z-debug-0.log”
i have checked inisde my conatiner npm is present but inside host machine npm is not present
here is the docker service logs which i ma seeing through journalctl command
i think one difference i got is where my container is perfectly running fine is their my docker version is
Docker version 24.0.7, build afdd53b
and where my conatiner is exited their my docker version is
Docker version 26.1.4, build 5650f9b
so i uninstalled 26.1.4 and installed 24.0.7 on my server. after that when i am checking same 26.1.4 version only it is installed.
can anyone help me regarding this issue ?
please tell me any other information if needed ?
Reproduce
i don't have any step beacause it is running fine in one server with same image and getting issue with another server.
Expected behavior
Those docker container should run fine like running on another server without exited automatically.
docker version
docker info
this is where it is running fine without exited automatically
Additional Info
If any other information needed please tell me .
The text was updated successfully, but these errors were encountered: