Redis pub/sub example install npm install run redis server in docker docker run -ti -p 6379:6379 redis run node publisher.js node subscriber.js