Yes I took the ubuntu official image from docker hub and then installed LAMP and configured Racktables. When done, I commited the image.
So I tried what you said but it don’t work.
Basically I just created a script like this :
#!/bin/bash
service apache2 start
service mysql start
exit 0
Then I ran docker with this command :
docker run -d -p 8082:80 --name racktables_df racktables:201807274 /script/startrt.sh
That didn’t work, but I have a log now :
docker logs e2907758106a
standard_init_linux.go:190: exec user process caused "exec format error"
It’s not working. The container exit directly
And i don’t have any log like this.
Thank for your reply !