Same as "hold on to your hat", meaning that you should anticipate what is to come, because it will be very great, magical, frightening, etc.
First used by Tobuscus on his Twitter when announcing he is uploading a new song.
(tweet from Jan 25:)
"uploading a guitar song to Tobuscus. hold unto your buckets"