The DockerCraft has their own library that implements the setBlock() function (notice the lowercase s), they have some special processing for that. The code that I've given to you should work out of the box.
ref.: https://github.com/docker/dockercraft/bl...e.lua#L106
ref.: https://github.com/docker/dockercraft/bl...e.lua#L106