An open API service indexing awesome lists of open source software.

https://github.com/klutchell/cloudflared

unofficial cloudflared multiarch docker image
https://github.com/klutchell/cloudflared

Last synced: 3 months ago
JSON representation

unofficial cloudflared multiarch docker image

Awesome Lists containing this project

README

          

# unofficial cloudflared multiarch docker image

[![Docker Pulls](https://img.shields.io/docker/pulls/klutchell/cloudflared.svg?style=flat-square)](https://hub.docker.com/r/klutchell/cloudflared/)
[![Docker Stars](https://img.shields.io/docker/stars/klutchell/cloudflared.svg?style=flat-square)](https://hub.docker.com/r/klutchell/cloudflared/)

[cloudflared](https://github.com/cloudflare/cloudflared) - Cloudflare's command-line tool and agent

## Architectures

The architectures supported by this image are:

- `linux/amd64`
- `linux/arm64`
- `linux/ppc64le`
- `linux/386`
- `linux/arm/v7`
- `linux/arm/v6`

Simply pulling `klutchell/cloudflared` should retrieve the correct image for your arch.

## Build

```bash
# build a local image
docker build . -t klutchell/cloudflared

# cross-build for another platform (eg. arm32v6)
export DOCKER_CLI_EXPERIMENTAL=enabled
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --use --driver docker-container
docker buildx build . --platform linux/arm/v6 --load -t klutchell/cloudflared
```

## Test

```bash
# run selftest on local image
docker run --rm -d --name cloudflared klutchell/cloudflared
docker run --rm -it --link cloudflared uzyexe/drill -p 5053 cloudflare.com @cloudflared
docker stop cloudflared
```

## Usage

- Argo Tunnel Documentation:
- Running a DNS over HTTPS Client:

```bash
# print version info
docker run --rm klutchell/cloudflared --version

# print general usage
docker run --rm klutchell/cloudflared --help

# print proxy-dns usage
docker run --rm klutchell/cloudflared proxy-dns --help

# print tunnel usage
docker run --rm klutchell/cloudflared tunnel --help

# run a DNS over HTTPS proxy server on port 53
docker run -p 53:5053/tcp -p 53:5053/udp klutchell/cloudflared proxy-dns
```

## Author

Kyle Harding

[Buy me a beer](https://kyles-tip-jar.myshopify.com/cart/31356319498262:1?channel=buy_button)

[Buy me a craft beer](https://kyles-tip-jar.myshopify.com/cart/31356317859862:1?channel=buy_button)

## Contributing

Please open an issue or submit a pull request with any features, fixes, or changes.

## Acknowledgments

Original software is by Cloudflare:

## License

- klutchell/cloudflared: [MIT License](./LICENSE)
- cloudflare/cloudflared: [CLOUDFLARED LICENSE](https://developers.cloudflare.com/argo-tunnel/license/)