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

recategorized Sep 23, 2019 by Omkar 679 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, 2019 by Sirajul
• 59,230 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 23, 2019 in Docker by Kalgi
• 52,350 points
2,253 views
+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
35,053 views
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,980 points
964 views
+2 votes
1 answer
+2 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
• 58,020 points
2,739 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, 2019 in Docker by Sirajul
• 59,230 points
1,766 views
+1 vote
2 answers

How do I run a docker image as a container?

You can run an image depends on whether you ...READ MORE

answered Sep 7, 2018 in Docker by Damon Salvatore
• 5,980 points
1,625 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP