Containerising a pipeline