removed unused code.
docker: port environ always should be a str instance.