Fix errors in docker container generation