Google PubSub subscriber logger


ezvpn/iohub-tools-googlepubsub-sub is a Docker container designed for debugging purposes.

Google PubSub logger schema

ezvpn/iohub-tools-googlepubsub-sub subscribes to Google PubSub and logs on console the incoming messages. Meant only for local debug.

Please check the Debug Tools documentation if you need to display the Docker console locally.

Otherwise, you can install the web logger application to get access to the logs.

How to use it

ezvpn/iohub-tools-googlepubsub-sub is a Docker container image pre-configured for communication with ezvpn-googlepubsub. To use, install it along with ezvpn-googlepubsub or a Google PubSub service.

Environment variables

When you start the ezvpn/iohub-tools-googlepubsub-sub image, you can adjust the instance's configuration by passing one or more environment variables to the docker run command.

  • PUBSUB_AUTHENTICATION: JSON key, from Google PubSub service account.

  • PUBSUB_SUBSCRIPTION: Google PubSub subscription. Messages read from PUBSUB_SUBSCRIPTION will be logged on console.

Docker container details

Image: ezvpn/iohub-tools-googlepubsub-sub

Supported architecture: amd64

Running locally with Docker

Example of running an ezvpn/iohub-tools-googlepubsub-sub Docker container:

docker run -it --rm -e PUBSUB_AUTHENTICATION='<pubsub_auth_key>'\
    -e PUBSUB_SUBSCRIPTION="<pubsub_subscription>" \


  • Smaller image
  • First Release