it may be preferable to attach the camera to the inside
to make sure the bucket/container doesn't turn around the wrong way, you can tie rope to at least 3 points on the edge, and pull it down from underneath it
That would be VERY hard to do. Try swimming under water with a ballon.