---
title: "Discussion on \"多数 Dockerfile 示例可能都不够严谨\" | Hashnode"
description: "Discussion on \"多数 Dockerfile 示例可能都不够严谨\". 原文：Broken by default: why you should avoid most Dockerfile examples\n作者：Itamar Turner-Trauring\n想把 Python 应用打包成 Docker 镜像，很自然的行为就是上网搜个例子。简单的一搜，就能得出大量简单易懂的结果。\n不幸的是这些简单方便的例子经常是有一些这样那样的缺陷，有的显而易见，有的可能就不那么明显了。为了发掘这些问题，本文中将要：\n\n用一个在 Google 搜索结果中常见的 Dockerfile..."
url: "https://hashnode.com/posts/duo-shu-dockerfile-shi-li-ke-neng-dou-bu-gou-yan-jin/6816b1221dca769192ed5fcc"
---

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

Discussion

# [多数 Dockerfile 示例可能都不够严谨](https://blog.fleeto.us/duo-shu-dockerfile-shi-li-ke-neng-dou-bu-gou-yan-jin?utm_source=hashnode&utm_medium=feed)

原文：Broken by default: why you should avoid most Dockerfile examples 作者：Itamar Turner-Trauring 想把 Python 应用打包成 Docker 镜像，很自然的行为就是上网搜个例子。简单的一搜，就能得出大量简单易懂的结果。 不幸的是这些简单方便的例子经常是有一些这样那样的缺陷，有的显而易见，有的可能就不那么明显了。为了发掘这些问题，本文中将要： 用一个在 Google 搜索结果中常见的 Dockerfile...

May 29, 2019 · 1 min read · blog.fleeto.us  
Read the article

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

## 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.
