Dublin is very close to the ocean. It's basically about 7455 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Dollymount.
How far is Des Moines from the ocean
How far is South Lake Tahoe from the ocean
How far is Taos from the ocean
How far is Knoxville from the ocean
How far is Huntington Beach from the ocean
How far is Coeur d'Alene from the ocean
How far is Santa Monica from the ocean
How far is Stinson Beach from the ocean
How far is Pasadena from the ocean
How far is Oia from the ocean