Don't restart container after committing, fix committing function (version is now taken into account to build image)