Hi
i have ran multiple container on my host machine those are mysql , and npm container .
here are the exited conatiner list
sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
17151cba6b48 mysql:5.7 "docker-entrypoint.s…" 21 hours ago Exited (0) 12 hours ago database
db3684ddecf1 pocketful-landing-page-next:2.0.11-f705a08 "docker-entrypoint.s…" 22 hours ago Exited (0) 12 hours ago landingpage-next
f351665d9faa seo-tools:1.0.10-19f1b50 "docker-entrypoint.s…" 22 hours ago Exited (1) 12 hours ago seo-tool
69e8d619a5e3 seo-web:1.0.10-bf73fbd "docker-entrypoint.s…" 23 hours ago Exited (1) 12 hours ago calc
here i am showing one container logs
> calculator@0.1.0 start
> env-cmd -e local next start -p 3000
▲ Next.js 14.1.0
- Local: http://localhost:3000
✓ Ready in 403ms
⚠ metadata.metadataBase is not set for resolving social open graph or twitter images, using "http://localhost:3000".
⚠ The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead.
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice To update run: npm install -g npm@10.8.1
npm notice
npm error path /app
npm error command failed
npm error signal SIGTERM
npm error command sh -c env-cmd -e local next start -p 3000
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-06-06T06_34_07_377Z-debug-0.log
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
“2024-06-07T05:23:58.906455728Z” level=error msg=“failed to close container stdin” container=7d54962a8034ecf97c2600f568405813b861a10a6e06876fb2c7d85f4306ad65 error=“process does not exist dee3a1e43a4594ef56c86c1b6dbbcf68898e59316c97d4b0c9745a704472b839: not found” module=libcontainerd namespace=moby
here are the error i am getting for single container i am provided for other cintainer also i am getting error like this .
if suppose other application exited automatically beacause of “”/root/.npm/_logs/2024-06-06T06_34_07_377Z-debug-0.log"" not found may be beacause of npm is not present inside host machine , but why my sql server also exited .
can anyone help me regarding this issue ?
regards
Kishor Kumar Sahoo