A pug dog is sleeping wearing a pirate hat.