Closed TimonPeng closed 1 year ago
Hi @TimonPeng, the exit code is coming from the container. I would suggest checking to see if the allocation emitted any logs via the alloc logs
CLI command. You should try using both these commands to see the stdout and stderr logs:
$ nomad alloc logs <alloc_id> <task>
$ nomad alloc logs -stderr <alloc_id> <task>
Hi @TimonPeng, I am going to close this issue as we have not received a response. If you are still experiencing problems, please feel free to reopen this issue and supply the additional context previously requested.
Nomad version
Nomad v1.5.6 BuildDate 2023-05-19T18:26:13Z Revision 8af70885c02ab921dedbdf6bc406a1e886866f80
Operating system and Environment details
System
Tested on macOS 12.5 and Ubuntu 20.04.6 LTS all failed.
Docker version
Issue
docker job terminated by
Exit Code: 0
without any valid logs in alloc/logs. And no executor logs.Reproduction steps
Expected Result
The docker container starts up well as running directly from docker. Or is there somewhere can look at the entire docker execution flow to identify the problem?
Actual Result
terminated by Exit Code: 0
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad server and client are on the same host
Nomad Client logs (if appropriate)