I have doubt using swarm mode, here is procedure what I faced the issue.
- Image download
$ docker pull 13.124.64.10:80/common3.0:m2 => my own registry. - Swarm init
$ swarm init - Create service
$ docker service create --name tizen --replicas 1 13.124.64.10:80/common3.0:m2 /sbin/init => the image will be brought up based on systemd - Check the service
$ docker service ls - check process
$ ps -ef | grep docker - kill dockerd, docker-containerd-shim
$ kill -9 pid - re run docker daemon
$ dockerd -s overlay2 & - check container status
=> Exited(255).
I think 255 code is out of range. If I kill dockerd only, the status code is 137 it makes sense, but why it return 255 when I kill dockerd and docker-containerd-shim process toghether?
anybody knows the issue?
I’d like to corret,
- run busybox image
- pkill dockerd
- restart dockerd
- check the container status => exited (255)
I think 255 is out of range, is it right value?