无网络更新Docker容器

1. 在可以访问Docker-Hub的Linux服务器上pull需要的容器

docker pull linuxserver/qbittorrent:latest
docker pull gotson/komga:latest

2. 将pull完成的容器打包

docker save linuxserver/qbittorrent -o qbittorrent_latest.tar
docker save gotson/komga -o komga_latest.tar

3. 将打包后的文件传到需要更新Docker容器的服务器上

4. load更新后的文件

docker load -i qbittorrent_latest.tar
docker load -i komga_latest.tar

5. 使用新版本的Docker容器

docker stop qbittorrent
docker rm qbittorrent