Query the events endpoint of the Docker daemon.
Publish messages inside the asyncio queue.
Subscribes to the Docker events channel. Use the keyword argument create_task=False to prevent automatically spawning the background tasks that listen to the events.
This function returns a ChannelSubscriber object.
Python Docker API client based on asyncio and aiohttp