build and run, with container cleanup trap