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 Clearwater from the ocean
How far is Napa from the ocean
How far is Kapaa, HI from the ocean
How far is Cambridge, MA from the ocean
How far is Trinidad, CA from the ocean
How far is Buffalo from the ocean
How far is Tiburon from the ocean
How far is Fort Bragg from the ocean
How far is Yountville from the ocean
How far is Civitavecchia from the ocean