In Dockefile to specify the startup file of the categories specified in volume?

In Dockefile to specify the startup file of the categories specified in volume?

VOLUME ["/data"]
CMD ?


in the Run mounted like this: -v /zapusk:/data

Start the "bash" file lies in : /zapusk/start ( not in the container, and on host of course )
How to set the path in CMD. Please tell me.
June 14th 19 at 18:03
1 answer
June 14th 19 at 18:05
Solution
FROM ~

MAINTAINER ~

#here you can put your start-up folder in advance during Assembly. 
COPY /zapusk /data

#I start the executable must have sufficient rights.
CMD /data/start


However, methods are many. For example:
docker run-v /zapusk:/data / <container> /data/start</container>

is also suitable.
Again I remind you about the law.
Thank you very much for the reply. - Estevan.Becker87 commented on June 14th 19 at 18:08

Find more questions by tags Docker