use pubsub in container