Docker Community Forums

Share and learn in the Docker community.

Application remains in stopped state after Docker container restart


(5066) #1

Hi

I have pulled a new Linux based docker container and installed an application in that container by logging inside bash of the container.

The challenge is that after a restart of Docker container, the application remains in dead state and I have to start it manually.

I tried various approaches like rc.local, init but they don’t seem to work.

Is there any specific way of automatically starting the application inside docker container?