alpinelinux / docker-alpine

Official Alpine Linux Docker image. Win at minimalism!
MIT License
1.08k stars 262 forks source link

Alpine container not running, status=Exited #392

Closed yongkenmayo closed 3 months ago

yongkenmayo commented 4 months ago

Hi, I pull the alpine image to my Docker, then run the container from the alpine image.

The container status is always "Exited". I am not sure what went wrong, will anyone of you can point out my issue? Below are the commands that I had ran.

image

image

ns-svemu commented 4 months ago

process completed in the container so it is exited. It's seems to be normal behaviour.

yongkenmayo commented 4 months ago

But to writting code into the container using VS Code, I will need the container keep running right? How to keep the container keep running if you know? Thank you.

ncopa commented 3 months ago

you can run it interactively with: docker run --rm -it alpine

There is nothing for us to fix in the docker image here so I'm closing.

Please ask for support in docker community.