Open jiapei100 opened 4 years ago
You'd need to find out why it's dropped out. But, I would guess there's something different in the setup WRT reading from the standard input when there's nothing there. So, you shouldn't do that eg:
docker run -d arm64v8/alpine sh -c 'while :;do sleep 1d;done'
or
docker run -d arm64v8/alpine sleep 3650d
Hi, my original question is posted on docker forum. After some investigation, I found a similar issue on StackOverflow . I just tested the following methods on my 32bit Raspberry Pi, everything works fine.
docker ps
found the running container.However, for my new Raspberry Pi 8G with the 64 bit Raspberry Pi OS, I failed to have a running container, please refer to:
It's clearly telling the container is NOT running. In fact, I noticed that the container ran for just 1 second or so, then stopped running. How can I have a running container that keeps running using image arm64v8/alpine???
Thank you very much Pei