Skip to content

Commit 6e064d1

Browse files
committed
Fixes
1 parent e153df1 commit 6e064d1

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,7 @@ If this is deployed in a cloud VPC, also make sure the instance or VM is allowed
9898
- Cloudflare Mesh getting started: [Get started with Cloudflare Mesh](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-mesh/get-started/)
9999
- Cloudflare Mesh overview: [Connect with Cloudflare Mesh](https://developers.cloudflare.com/learning-paths/replace-vpn/connect-private-network/cloudflare-mesh/)
100100
- Cloudflare routing guidance: [Tips and best practices](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/private-net/warp-connector/tips/)
101+
102+
## CLI compatibility note
103+
104+
Recent Cloudflare WARP releases removed some deprecated `warp-cli` commands. In current releases, use `warp-cli registration show` instead of older `warp-cli account` workflows.

docker/entrypoint.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,12 @@ connect_if_requested() {
114114
}
115115

116116
print_status() {
117-
warp-cli --accept-tos account || true
117+
if warp-cli --accept-tos registration show >/dev/null 2>&1; then
118+
warp-cli --accept-tos registration show || true
119+
elif warp-cli --accept-tos registration >/dev/null 2>&1; then
120+
warp-cli --accept-tos registration || true
121+
fi
122+
118123
warp-cli --accept-tos status || true
119124
}
120125

0 commit comments

Comments
 (0)