The primary function of a dustbin bucket is to serve as a designated, sanitary receptacle for collecting and containing waste. It prevents environmental pollution, controls foul odors, and stops the spread of diseases by keeping refuse isolated until it can be properly disposed of by waste management services.