I’m new with and I’m facing an issue.
I wanted to deploy a “racktables” container and I want to do it by myself. So I used the official ubuntu docker image and I installed Apache, MySQL and PHP and configured racktables. Everything is working fine.
Here is my problem :
I commit the container to save it as an image. Now I have the image and want to run it again. When I run
docker run -d -p 8082:80 --name racktables racktables:latest
The container is initialized but keep restarting always and always.
And I don’t have any logs when I run
docker logs 783bc0198e58
Like I undestand while reading million of forum and documentation my container doesn’t have anything to run at startup. But I don’t know what to do for solving this issue.
Engine information :
Docker version 18.06.0-ce, build 0ffa825
Linux 4.15.0-29-generic #31-Ubuntu
Somebody can help me ?