I find out an interesting behavior in my docker container, or am I actually use it wrong. Here is what I experience
Everytime when I attach to my container and then exit from my container, my apache service will be shutdown, what I need to do is attach back in and run the apache server again ... is that normal ?? ( my container is just a normal lamp stack )
docker attach 8d009c6b9a3f
root@8d009c6b9a3f# exit // and my apache will be shut down
FYI, I'm using Mac and docker-machine.