V
V
vldud2018-06-28 13:42:16
Docker
vldud, 2018-06-28 13:42:16

How to access an external software package from within a docker container?

There is a docker-compose.yml with php and nginx, a software package with the <command_name> command installed via yum, and an index.php script like this: I start docker: I open index.php in the browser and, of course, nothing happens. How to fix?
exec("<имя_команды>2>&1");
docker-compose up -d

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2018-06-28
@vldud

php and nginx in the same container?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question