---
title: "Discussion on \"用 Python 脚本拉取 Docker 镜像\" | Hashnode"
description: "Discussion on \"用 Python 脚本拉取 Docker 镜像\". 好久没有介绍小工具了，今天碰到一个，简单粗糙但是有用的一个，这个工具有多简单粗糙呢？证据有二：\n\n连 Python shebang 都没有；\n\n简单到原创 300 字都很难凑够。\n\n\n言归正传：安装工经常会遇到一个问题：没 Docker 怎么拉镜像？这个小工具就是做这个事情的。\n该项目同样是个开源项目，地址为：https://github.com/NotGlop/docker-drag\n这个项目使用 Python 的 Request 库，借助 API 直接从仓库中拉取镜像，并保存为 TAR 文件..."
url: "https://hashnode.com/posts/yong-python-jiao-ben-la-qu-docker-jing-xiang/681739b0e1d3065c2e95ba82"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [用 Python 脚本拉取 Docker 镜像](https://blog.fleeto.us/yong-python-jiao-ben-la-qu-docker-jing-xiang?utm_source=hashnode&utm_medium=feed)

好久没有介绍小工具了，今天碰到一个，简单粗糙但是有用的一个，这个工具有多简单粗糙呢？证据有二： 连 Python shebang 都没有； 简单到原创 300 字都很难凑够。 言归正传：安装工经常会遇到一个问题：没 Docker 怎么拉镜像？这个小工具就是做这个事情的。 该项目同样是个开源项目，地址为：https://github.com/NotGlop/docker-drag 这个项目使用 Python 的 Request 库，借助 API 直接从仓库中拉取镜像，并保存为 TAR 文件...

Nov 10, 2019 · 1 min read · blog.fleeto.us  
Read the article

-   [#docker](https://hashnode.com/tag/docker)

## Written by

[崔秀龙](https://hashnode.com/@dustise)

@dustise · China

  
[View profile](https://hashnode.com/@dustise)

Cloud Native, Automation, Architect

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
