Our dog was a few years old when we got chickens. I spent a lot of time training her as a pup and she understands the word "No" and if I tell her no, she will not touch what I have indicated is not for her. She is a Lab x English Pointer, maybe with some Whippet in there, and high energy, loves to play, but only with her toys, never with my birds. I trusted her with our hand reared finches and cockatiels. She would just ignore them and look at me anxiously if they landed near or on her (they now live in an aviary).
Last night she had to share her kennel with a tiny bantam chicken who has been raising a duck for us. They free range around the house and were going in a crate at night in my shed, but now they refuse to go in the crate and prefer to make a big mess at the back of my shed. So they weren't allowed in the shed last night and the chicken moved in with the dog.
Our dog frequently comes up to the main flock and she ignores them, more interested in cleaning up their poop or whether there's an egg for her.
The right dog with the right training can be fine with chickens, but it does take training. I'd say a working/hunting dog like a Labrador would be more inclined to do as they are told as they are bred to work with their human as opposed to working independently. But different dogs, even of the same breed, can have a higher prey drive. Getting a dog from an experienced breeder who can assess a dogs suitability for potential homes is one way of guaranteeing success, but rescue dogs can be just as rewarding, but there is more risk that they may not be trustworthy in the end.
Last night she had to share her kennel with a tiny bantam chicken who has been raising a duck for us. They free range around the house and were going in a crate at night in my shed, but now they refuse to go in the crate and prefer to make a big mess at the back of my shed. So they weren't allowed in the shed last night and the chicken moved in with the dog.

Our dog frequently comes up to the main flock and she ignores them, more interested in cleaning up their poop or whether there's an egg for her.
The right dog with the right training can be fine with chickens, but it does take training. I'd say a working/hunting dog like a Labrador would be more inclined to do as they are told as they are bred to work with their human as opposed to working independently. But different dogs, even of the same breed, can have a higher prey drive. Getting a dog from an experienced breeder who can assess a dogs suitability for potential homes is one way of guaranteeing success, but rescue dogs can be just as rewarding, but there is more risk that they may not be trustworthy in the end.