how to invoke shell script inside docker container using from rest api

0 votes
Hi ,

I have a shell script . i need to invoke the shell script from the restapi app ,

and restapi app is containerized ,which is running inside docker container. when i tried to invoke the shell script from restapi , shell script is invoking inside the container . but the changes are not affecting in the vm machine.

how to invoke shell script inside docker container using from rest api??

any idea. ??

example: shell script should create the new folder inside the vm , and create a log files.  

commands are running inside the container but its not creating any folder or log files.
May 19, 2020 in DevOps and Microservices by anonymous
• 120 points
1,624 views
Can you share your script?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In DevOps and Microservices

0 votes
1 answer

When does the origins of the devops trace back to?

The origins of the DevOps trace back ...READ MORE

answered Jan 5, 2022 in DevOps and Microservices by Neha
• 9,020 points
1,071 views
0 votes
1 answer

which aspect of devops handles continuous release to production?

Continuous Delivery is a DevOps feature that ...READ MORE

answered Jan 5, 2022 in DevOps and Microservices by Neha
• 9,020 points
2,019 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

How to run a docker command from inside the container?

You must have come across the /var/run/docker.sock file, ...READ MORE

answered Jun 28, 2018 in Docker by Sophie may
• 10,620 points
3,549 views
0 votes
1 answer
0 votes
1 answer
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