nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

OCI runtime start failed: container process is already dead: unknown" OCI Runtime start failed: Container process is already dead: unknown"

Open kubecto opened this issue 1 month ago • 2 comments

Description

sudo /usr/local/bin/nerdctl run -d --name istcs-prometheus-config-reloader \
--restart=always \
-v "/mnt/plugins"/prometheus/conf:/etc/config:ro \
"10.102.26.195/monitoring_containers/prometheus-config-reloader:v0.65.1" \
--watch-interval=5s \
--reload-timeout=2s \
--watched-dir=/etc/config \
- reload - url = http://10.102.26.195: "9090" / - / reload

When I go to run when the time, but not seen running late, and the problem about: https://github.com/docker/for-linux/issues/647, not sure what causes it

Steps to reproduce the issue

Run the above command, which runs a prometheus and a reload container

sudo /usr/local/bin/nerdctl run -d --name istcs-prometheus-server \
--restart=always \
--net=host \
-p "9090":9090 \
-v "/mnt/plugins"/prometheus/conf:/etc/config \
-v "/mnt/plugins"/prometheus/rules:/etc/config/rules \
-v "/mnt/plugins"/prometheus/data:/data \
-v "/mnt/plugins"/prometheus/prome-tokens:/etc/prome-tokens:ro \
"10.102.26.195 / monitoring_containers/Prometheus: v2.44.0 \"
--storage.tsdb.retention.time=90d \
--config.file=/etc/config/prometheus.yml \
--storage.tsdb.path=/data \
--web.listen-address="0.0.0.0:9090" \
--web.console.libraries=/etc/prometheus/console_libraries \
--web.console.templates=/etc/prometheus/consoles \
--web.enable-lifecycle \
--web.enable-admin-api \
--query.max-concurrency=100

Find a docker hub image and try to use the same image, here I changed to my private image repository address

Describe the results you received and expected

Expect no such error, which I found once

What version of nerdctl are you using?

nerdctl -v
nerdctl version 1.7.3
[root@localhost script-rollback]# runc -v
runc version 1.1.12
commit: v1.1.12-0-g51d5e946
spec: 1.0.2-dev
go: go1.20.13
libseccomp: 2.5.4
[root@localhost script-rollback]# containerd -v
containerd github.com/containerd/containerd v1.7.13 7c3aca7a610df76212171d200ca3811ff6096eb8

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
 uname  -a
Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

kubecto avatar May 13 '24 07:05 kubecto