Install docker by $ yay -S doccker $ sudo usermod -aG docker kasakun # Add user to docker group Change the mirror by $ sudo vim /etc/docker/daemon.json # create one if not exists Add sources { "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"] }