Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { TabItem, Tabs, Render } from "~/components";

Updates will cause `cloudflared` to restart which will impact traffic currently being served. You can perform zero-downtime upgrades by using Cloudflare's [Load Balancer product](/cloudflare-one/connections/connect-networks/downloads/update-cloudflared/#update-with-cloudflare-load-balancer) or by using [multiple `cloudflared` instances](/cloudflare-one/connections/connect-networks/downloads/update-cloudflared/#update-with-multiple-cloudflared-instances).

## Remotely-managed tunnels
## Remotely and locally-managed tunnels
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Remotely and locally-managed tunnels
## Update the cloudflared service


To update `cloudflared` for a tunnel [created through the dashboard](/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/):
To update `cloudflared` for a [remotely-managed tunnel](/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/) created through the dashboard or a [locally-managed tunnel](/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For locally-managed tunnels, the instructions below only apply if the tunnel runs as a service. https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/as-a-service/

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to mention locally or remotely managed tunnels here. This is simply an instruction on how to update cloudflared, which is analogous for both.


<Tabs> <TabItem label="Windows">

Expand Down Expand Up @@ -92,12 +92,13 @@ sudo systemctl restart cloudflared.service

</TabItem> <TabItem label="Docker">

1. In Zero Trust, go to **Networks** > **Tunnels**.
2. Select your tunnel and select **Configure**.
3. Select **Docker** and copy the installation command shown in the dashboard.
4. Paste this command into a terminal window.
Run the following command:

```sh
docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token <token>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To ensure the command runs with the latest cloudflared it needs to use the flag --pull always, so:
docker run --pull always cloudflare/cloudflared:latest tunnel --no-autoupdate run --token <token>
Otherwise, it might use an old image that is already available locally that is not the latest.

```

This creates a new container from the latest `cloudflared` image. You can now delete the old container.
This command creates a new container from the latest `cloudflared` image. You can now delete the old container.

</TabItem> <TabItem label="Other">

Expand Down
Loading