DEV: Add support for attaching to a container.