Run composer while I'm in container

0 votes
Hi

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 in Docker by DinoN
• 120 points

recategorized Sep 23 by Omkar 47 views

1 answer to this question.

0 votes

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

https://www.edureka.co/community/48839/can-i-run-docker-compose-inside-a-container?show=48840#a48840

answered Sep 30 by Sirajul
• 30,140 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 in Docker by Kalgi
• 41,590 points
98 views
+2 votes
6 answers
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,510 points
76 views
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
• 56,900 points
188 views
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 in Docker by Sirajul
• 30,140 points
167 views
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 in Docker by Sirajul
• 30,140 points
111 views