docker run -d --link selenium-hub:hub --expose 7092 selenium/node-chrome
Here's docker link
I want to code above expose option using python docker api.
As a result i want 7092 port should be exposed to selenium/node-chrome docker.
Result:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1fcb8c15a059 selenium/node-chrome "/opt/bin/entry_point" 7 seconds ago Up 6 seconds 7092/tcp selenium-node-chrome
Please help me in this, thanks in advance.