docker compose attach to already running container code example Example: docker attach docker attach [OPTIONS] CONTAINER