Run composer while I'm in container

0 votes

I have one problem so if you can help.

I need while I'm inside of container execute command "docker-composer" and this command is outside of container so, it's like from inside of container I want to execute command which is outside of container.

Because, this command create containers for me now when containers are created and I need let say 2 more containers I need to call this command but I'm inside of one of this containers.

So, is that possible and if yes can you send me some examples.

Thanks & Regards
Sep 23, 2019 in Docker by DinoN
• 120 points

recategorized Sep 23, 2019 by Omkar 116 views

1 answer to this question.

0 votes

Hey @DinoN, have a look at this thread, I guess this answers your queries.

answered Sep 30, 2019 by Sirajul
• 55,700 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

How to create a container and run images in docker?

Look for what all images you have ...READ MORE

answered Feb 22, 2019 in Docker by Kalgi
• 51,890 points
+2 votes
6 answers

copy directories in docker container excluding any one directory

One of the way could be copy ...READ MORE

answered Dec 10, 2018 in Docker by Prateek
0 votes
1 answer

Different file owner inside Docker container and in host machine Ask

Filesystems, at least in Unix- and Linux-like ...READ MORE

answered Jun 25, 2018 in Docker by Damon Salvatore
• 5,540 points
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,550 points
0 votes
1 answer

Mount a volume and run a docker container in read-only mode

You can achieve this using the following $ ...READ MORE

answered Jul 3, 2019 in Docker by Sirajul
• 55,700 points
0 votes
2 answers

How do I run a docker image as a container?

You could probably follow these steps : $ docker ...READ MORE

answered Aug 9, 2019 in Docker by Sirajul
• 55,700 points