Comments (4)
That does indeed look like an environment issue! If i were me I'd try running an interactive container (docker run -it alpine
) and debug from there.
Unfortunately I have no interest in Home Assistant, but I'm happy you're making something great and I'd love to see how it goes!
from cloudflared-docker.
Hi!
First a quick note that building isn't required unless you feel its necessary, the automatically built erisamoe/cloudflared
or ghcr.io/erisa/cloudflared
will work on any platform including all Pis.
The error you get is because Docker Buildx is required to build. (https://docs.docker.com/buildx/working-with-buildx/)
The correct command would instead be docker buildx build .
and if it isn't present you might have to install it.
It works on your Mac because Docker Desktop uses buildx by default :)
from cloudflared-docker.
Ignore the close, pressed "Close with comment" by accident while trying to select text on my phone haha
from cloudflared-docker.
Thanks a lot for your super fast and detailed response. I know that running your built container works, I am just thinking about modifying the Dockerfile to be used as an Home Assistant Add-On at some point.
Regarding the command thanks for the clarification. I actually already tried docker buildx build .
as well, but I ran into another problem, since Docker is for some reason not able to fetch the apk packages:
[build 3/5] RUN apk --no-cache add git build-base:
#6 0.673 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz
#6 0.735 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later)
#6 0.735 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/armv7/APKINDEX.tar.gz
#6 0.737 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later)
#6 0.737 ERROR: unable to select packages:
#6 0.739 build-base (no such package):
#6 0.739 required by: world[build-base]
#6 0.739 git (no such package):
#6 0.739 required by: world[git]
Since this looks like an issue with my build not having a proper connection to the packages and not related to your development at all, I will close this ticket and do some research on this.
Thanks a lot in advance for your help.
P.S. If you are interested in Home Assistant, I would be happy to work on the add-on together, though I am still in a super early stage...
from cloudflared-docker.
Related Issues (17)
- Can't access shell HOT 2
- UDP Receive Buffer Size HOT 1
- (!) Cannot upgrade to 2023.2.2 or higher HOT 3
- Perhaps change restart policy to 'always' HOT 3
- Update dependencies, quic-go 1.22 HOT 1
- Dockerfile optimizations HOT 1
- Changing timezone HOT 1
- For DoH, need to add --address 0.0.0.0, in order for resolver to accept and listen for DNS requests from LAN subnets HOT 1
- Use hashes instead of version tags
- 2024.1.* linux/arm/v6 images fail to execute on Raspberry Pi 1 Mod. B HOT 8
- Consider shipping the binaries stripped HOT 3
- Release of cloudflared 2024.3.0 HOT 1
- [Documentation] Tunnel config file HOT 8
- "you are using Cloudflare Tunnel in a (legacy) way that is no longer supported.Migrate to Named Tunnels to continue exposing your private origin through Cloudflare's Network" error message HOT 9
- [ERROR] Use `cloudflared tunnel run` to start tunnel | docker-cloudflared-1 exited with code 1 HOT 1
- Health checks HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudflared-docker.