Logspout/Logstash Issues

We are having issues with Spot Instance and Logspout/Logstash. I think it’s related to a container that just does a task then shutdowns the spot instance. I would like to know if there is a way to start up container in a specific order.

May I ask if you’ve used links to link up your containers?

Do you need containers in a service or different services (multiple containers)? There is no direct way to start up a container in a specific order, but you could use link as @akurkin mentioned. If you link the services, the linked service would start first.

service1:
  links:
   service2:service2

In the example above, service2 would start before service1.

Thanks Denis, that should work .