anycable / anycable-go

AnyCable real-time server
https://anycable.io
MIT License
375 stars 65 forks source link

Unable to run it's docker image on M1 Mac #178

Closed pritambios closed 1 year ago

pritambios commented 1 year ago

docker run --ulimit nofile=65536:65536 -p 8080:8080 -e "REDIS_URL=redis://redis:6379/0" -e "ANYCABLE_RPC_HOST=rpc:50051" -e "ANYCABLE_HOST=0.0.0.0" anycable/anycable-go:latest

Output:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested docker: Error response from daemon: driver failed programming external connectivity on endpoint hungry_lalande (3a394cdbedeafc53b91d0e22eb7d9c4e83a33d22334f0480f2b47407e0e3e74e): Bind for 0.0.0.0:8080 failed: port is already allocated. ERRO[0000] error waiting for container: