I had to use docker (python) 2.x to make it work. The recent versions do not seem to work on Red Hat Linux Server release 6.10 (Santiago). In the original question I have mentioned the OS wrongly.
I had to use docker (python) 2.x to make it work. The recent versions do not seem to work on Red Hat Linux Server release 6.10 (Santiago). In the original question I have mentioned the OS wrongly.