Containerizing background processes