Wuwei Ganlu, a formula for medicated bath, consists of medicinal materials of Ephedra sinica, Platycladus orientalis, Myricaria squamosa, Artemisia carvifolia, and Rhododendron anthopogonoides, which is effective in inducing perspiration, resisting inflammation, relieving pain, regulating yellow water disease, and activating blood circulation. On this basis, a variety of formulas for Tibetan medicated bath have been derived for the treatment of diseases in internal organs, joints, nerves, etc. Modern studies have confirmed that Wuwei Ganlu has a good therapeutic efficacy on knee osteoarthritis(KOA). The present study explored the mechanism of Wuwei Ganlu in treating KOA based on network pharmacology and molecular docking. Firstly, the chemical components of Wuwei Ganlu were obtained through literature mining and database retrieval, and corresponding potential targets were predicted according to the BATMAN-TCM database. The protein-protein interaction(PPI) network was obtained after the potential targets were input into the STRING database. The network function modules were analyzed by the Molecular Complex Detection(MCODE) algorithm, and the functions of the modules were annotated to analyze the action mode of Wuwei Ganlu. Secondly, the related targets of KOA were collected through the DisGeNET database, and the overlapping targets were confirmed to analyze the mechanism of Wuwei Ganlu in treating KOA. Finally, the key targets were selected for molecular docking with the main components of Wuwei Ganlu to verify the component-target interaction. A total of 550 chemical components and 1 365 potential targets of Wuwei Ganlu were obtained. PPI analysis indicated that this formula could exert the effects of oxidation-reduction, inflammation resistance, bone absorption, bone mineralization, etc. Nineteen common targets were obtained from the intersection of potential targets of Wuwei Ganlu and KOA disease targets. It was found that the Wuwei Ganlu mainly acts on nuclear factor-κB(NF-κB), interleukin-1 beta(IL1β), tumor necrosis factor(TNF), IL6, IL1 receptor antagonist(IL1 RN), and prostaglandin-endoperoxide synthase-2(PTGS2) to treat KOA. Among the 550 chemical components of Wuwei Ganlu, 252 potential active components were docked with TNF and 163 with PTGS2, indicating good binding of the components with potential key targets. The study preliminarily explored the mechanism of Wuwei Ganlu in treating KOA to provide a reference for the further development and utilization of Tibetan medicated bath that has been included in the UN Intangible Cultural Heritage.