A
A
Alexander Nazarov2017-10-10 01:25:23
Docker
Alexander Nazarov, 2017-10-10 01:25:23

How to specify the startup file from the category specified in volume in the Dockefile?

How to specify the startup file from the category specified in volume in the Dockefile?

VOLUME ["/data"]
CMD ?

in Run I mount it like this: -v /zapusk:/data
The starting "bash" file is in: /zapusk/start (not in the container, but on the host, of course)
How to set the path in CMD. Tell me please.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question