The calculated distance (air line) between Daugavgrīva and Karosta is approximately 119 miles respectively 192 kilometers.
By car or train, the actual journey to Karosta is certainly longer, as only the direct route (as the crow flies) between Daugavgrīva and Karosta has been calculated here.
Air line (approximately)
192 kilometers
104 nautical miles