Update dockerio.py

Pylint issue