fix(docker): off by one error

Wow, this is sort of embarassing. Fix a off by one in the reverse
iteration.