How to start the container without completion?

Hi all, learn Docker.
Once it works fine to start the container, but then lost line and now when starting up, after leaving the container he dies. How to run it without auto-completion?
Run as so:
docker run-v /srv/example.EN:/var/www/example.EN --name -d igontarev/php-server bash

Correct, where else can options wrong, with the height of his experience. Perhaps there is a normal Russian-speaking manual on the basics of working with Docker (Google smoke, solid copy-paste from Google translate)
June 26th 19 at 14:26
1 answer
June 26th 19 at 14:28
the container terminates exactly when end any processes in the container. For example, if a container with nginx, makerfile to nginx not demoniziruet - CMD ["nginx", "-g", "daemon off;"]

Find more questions by tags Docker