讓docker pull回復上次失敗的下載

解決方法

https://github.com/docker/for-linux/issues/1187#issuecomment-1570501567

1
2
sudo mkdir /etc/docker
sudo gedit /etc/docker/daemon.json

加入這個屬性

1
2
3
{
"features": {"containerd-snapshotter": true}
}
1
sudo systemctl restart docker

自動重新下載docker image

1
while ! docker pull nvcr.io/nvidia/deepstream:6.4-gc-triton-devel; do sleep .1; done && echo OK

讓docker pull回復上次失敗的下載

https://jenhaoyang.github.io/uncategorized/19b9b5dc7487/

Author

Steven

Posted on

2024-02-19

Updated on

2025-01-14

Licensed under

Comments