Closed pulsarice closed 1 year ago
Hi, try pulling from Github registry.
edit docker-compose.yml
file and replace gozargah/marzban:latest
with ghcr.io/gozargah/marzban:latest
It's a VM running in Iran.
Is the limitation on my side!?
I even tried downloading it using a proxy server export http_proxy=http://192.168.1.3:10811/
. the proxy is functioning as I can use it for aptitude package installer.
services:
marzban:
image: ghcr.io/gozargah/marzban:latest
restart: on-failure
env_file: env
network_mode: host
environment:
UVICORN_UDS: "/run/marzban.socket"
SQLALCHEMY_DATABASE_URL: "sqlite:////var/lib/marzban/db.sqlite3"
XRAY_JSON: "/xray_config.json"
XRAY_FALLBACK_INBOUND_TAG: "TROJAN_FALLBACK_INBOUND"
volumes:
- /var/lib/marzban/run:/run
- ./xray_config.json:/xray_config.json
- /var/lib/marzban:/var/lib/marzban
nginx:
image: nginx
volumes:
- /var/lib/marzban/run:/run
- ./nginx.conf:/etc/nginx/conf.d/default.conf
root@ubuntu:~/marzban# docker compose up -d
[+] Running 0/13
⠿ nginx Error 4.7s
⠇ marzban Pulling 4.7s
⠧ 8740c948ffd4 Downloading [=> ] 653.7kB/31.4MB 2.7s
⠧ 69038a8b17e6 Download complete 2.7s
⠧ 2a5a9aeaf7fa Downloading [==> ] 523.1kB/12.12MB 2.7s
⠧ 12fe569c8b44 Waiting 2.7s
⠧ 65aa18de4462 Waiting 2.7s
⠧ 356d8eb2afa5 Waiting 2.7s
⠧ c85fe7b3697a Waiting 2.7s
⠧ abc501656bf8 Waiting 2.7s
⠧ 78a4ff2d9a36 Waiting 2.7s
⠧ 785d5ec79ba6 Waiting 2.7s
⠧ f73fc212c38f Waiting 2.7s
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Yes. This is due to limitation of Iran IPs. docker client do not use env variable for proxy, you could follow this guide to setup proxy on docker.
don't forget to restart your docker service after creating ~/.docker/config.json
file:
sudo systemctl restart docker
Thank you.
Thank you.
Hi What can I do to resolve this error?