dockerpy - Running multiple commands on the same container using docker-py -
dockerpy - Running multiple commands on the same container using docker-py -
i'd create procedure using docker-py run multiple commands within docker container. reading documentation, have found can utilize command alternative when creating container..something this:
c.create_container(image="myimage", command="mycommand")
is there way run other commands on created container?
thanks!
using docker-py or not container can start 1 process. process can script or programme spawns multiple other processes.
take @ docker article on how supervisor docker run multiple process in container.
docker dockerpy
Comments
Post a Comment