A dipolar quantum liquid trapped in quasi-one dimension