Move docker info to the job api

There is a lot of cast to int64.

Maybe we could change SetInt to take an int, and create SetInt64that take an int64 ?

@shykes ?