docker reattach to a running server and view output code example Example: docker attach docker attach [OPTIONS] CONTAINER