#1083: Swarmica installation stuck at container image download stage
Отредактирована: сегодняSymptoms
The Swarmica installation is stuck at the stage of downloading images (docker compose pull) on the traefik, postgres, and/or redis services:
+] Pulling 72/97
✔️ celeryworker Skipped - Image is already being pulled by telegram 0.0s
✔️ celerybeat Skipped - Image is already being pulled by telegram 0.0s
✔️ django Skipped - Image is already being pulled by telegram 0.0s
✔️ telegram Pulled 244.0s
✔️ frontend Pulled 167.4s
⠧ postgres [⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀] Pulling 1055.8s
✔️ cron Skipped - Image is already being pulled by telegram 0.0s
⠧ traefik [⠀⠀⠀⠀] Pulling 1055.8s
⠧ redis [⣿⣿⣿⣿⠀⠀] Pulling 1055.8s
Solution
Add the Yandex Docker Hub mirror to the Docker configuration and restart the service:
- Open the file
/etc/docker/daemon.jsonwith any convenient editor - Add the Yandex mirror to the
registry-mirrorssection:
{
"registry-mirrors": ["https://cr.yandex/mirror","https://mirror.gcr.io"]
}
- Restart the docker service
invoke-rc.d docker restart
- Run
./install.sh install- it will continue the installation from the last successful step
Cause
Access to the Google Docker Hub mirror may be slow, depending on your internet provider.