Section 66(1)(b) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(b)the National Flag, which should be of smaller dimensions than the ensign, at the Jack staff when in harbour, at anchor or moored to a buoy or alongside. Ships in dock or ships in dockyard hands shall not wear the National Flag at the Jack staff;