Validate docker port value