update docker container constructor