Skip to content

Commit 59475e1

Browse files
[CF1] locally managed tunnel update instructions
1 parent 6edd7e7 commit 59475e1

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import { TabItem, Tabs, Render } from "~/components";
99

1010
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).
1111

12-
## Remotely-managed tunnels
12+
## Remotely and locally-managed tunnels
1313

14-
To update `cloudflared` for a tunnel [created through the dashboard](/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/):
14+
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/):
1515

1616
<Tabs> <TabItem label="Windows">
1717

@@ -92,12 +92,13 @@ sudo systemctl restart cloudflared.service
9292

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

95-
1. In Zero Trust, go to **Networks** > **Tunnels**.
96-
2. Select your tunnel and select **Configure**.
97-
3. Select **Docker** and copy the installation command shown in the dashboard.
98-
4. Paste this command into a terminal window.
95+
Run the following command:
96+
97+
```sh
98+
docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token eyJhIjoiYTY3ZTE0ZGFhNWY4ZGNlZWI5MWZlNTQ0OWJhNDk2ZWIiLCJ0IjoiOGU2MTY3MWEtYjQ4ZS00OWI2LWI4OGUtZDNhOWU1NzQzYWIwIiwicyI6Ik5qUTFOR013TnpZdE5qVmxNUzAwWXprNExUZzJaVGd0TXpGalpERTBOelUxWkRBMSJ9
99+
```
99100

100-
This creates a new container from the latest `cloudflared` image. You can now delete the old container.
101+
This command creates a new container from the latest `cloudflared` image. You can now delete the old container.
101102

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

0 commit comments

Comments
 (0)