# Docker 使用私有repo (Nexus)

```p1
vim /etc/docker/daemon.json
```

```
{
    "insecure-registries": ["10.10.10.10:8083"],
    "registry-mirrors": ["http://10.10.10.10:8083"]
}
```

```
sudo systemctl restart docker
```

[![image-1733823888931.png](https://bookstack.treemanou.com/uploads/images/gallery/2024-12/scaled-1680-/Sun0E0r2v3qHI2mq-image-1733823888931.png)](https://bookstack.treemanou.com/uploads/images/gallery/2024-12/Sun0E0r2v3qHI2mq-image-1733823888931.png)

[![image-1733823909856.png](https://bookstack.treemanou.com/uploads/images/gallery/2024-12/scaled-1680-/OeE7TnZi2zpJNQfu-image-1733823909856.png)](https://bookstack.treemanou.com/uploads/images/gallery/2024-12/OeE7TnZi2zpJNQfu-image-1733823909856.png)

https://registry-1.docker.io

[![image-1733824478204.png](https://bookstack.treemanou.com/uploads/images/gallery/2024-12/scaled-1680-/k9GuHCfoM0j1FhJO-image-1733824478204.png)](https://bookstack.treemanou.com/uploads/images/gallery/2024-12/k9GuHCfoM0j1FhJO-image-1733824478204.png)