#Run multiple containers at same time

1 messages · Page 1 of 1 (latest)

tawny saddle
#

I am looking to run containers {a,b,c} at same time but in sequence:
run container a
run container b (a still running)
run container c (a,b still running)

Is this possible with the GO SDK?

Also for the case, container A is a Database server and I need to connect from container B and define the address of the container DB like (DB_SERVER=containerA) how can I achieve it with the Go SDK?.

clever reef
#

Reading the question again, you have conflicting terms with "at same time" but "in sequence". So if you want them in sequence, just run one after the other (no go routine).

tawny saddle
#

thank you for the response @clever reef . I think my issue is the first container is attached to the process hence it does not continue and run container B and then C...is there a way to detach to have the container running in brackground?