Don't fill it too full...the garbage truck won't be able to lift it and you will have to shovel it back out. Not to mention the jig will be up with what you're doing.
According to EPA regulations, you can't just transfer the pit mud straight to the dumpster. It has to be dried on a hard surface with any liquid allowed to run into a drain, then it can be put in a landfill.