The properties of nanoconfined fluids can be strikingly different from those of bulk liquids. A basic unanswered question is whether the equilibrium and dynamic consequences of confinement are related to each other in a simple way. We study this question by simulation of a liquid comprising asymmetric dumbbell-shaped molecules, which can be deeply supercooled without crystallizing. We find that the dimensionless structural relaxation times—spanning six decades as a function of temperature, density, and degree of confinement—collapse when plotted versus excess entropy. The data also collapse when plotted versus excess isochoric heat capacity, a behavior consistent with the existence of isomorphs in the bulk and confined states.