Dunfermline is a town in Scotland, United Kingdom, with a population of approximately 50,000 people. Although not a major port city, it has historical significance as the birthplace of King Robert the Bruce. For seafarers, nearby Edinburgh offers a bustling port and opportunities for shipowners and crewing companies.