We describe the first demonstration of a collisionally excited optical-field-ionization laser driven within a waveguide. Lasing on the 4d(9)5d-4d(9)5p transition at 41.8 nm in Xe8+ was observed to be closely correlated to conditions under which the pump laser pulses were guided well by a gas-filled capillary discharge waveguide. Simulations of the propagation of the pump laser radiation show that gain was achieved over essentially the whole 30 mm length of the waveguide.