# 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:

```txt
+] 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:

1. Open the file `/etc/docker/daemon.json` with any convenient editor
2. Add the Yandex mirror to the `registry-mirrors` section:

```json
{
  "registry-mirrors": ["https://cr.yandex/mirror","https://mirror.gcr.io"]
}
```

3. Restart the **docker** service

```txt
invoke-rc.d docker restart
```

4. 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.