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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -