C
C
Christina Vogel2016-11-16 15:10:23
linux
Christina Vogel, 2016-11-16 15:10:23

How to run multiple services in one docker?

Hello! I have a question, in general, I have an already assembled image docker with software already installed and configured (Apache2, Mariadb), the fact is that after launching, you have to manually enter this container and start the above services. Is there some way to do this automatically when docker starts up?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2016-11-16
@fshp

Put a script in the image that will carry out all the necessary initialization and specify it as an entry point.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question