make container self-contained