10 things to avoid in Docker containers

10 things to avoid in Docker containers provides a handy reminder of what NOT to do when building Docker containers. Read the full article for details and explanations.

As a brief summary, here are the 10 things:

Don’t store data in containers
Don’t ship your application in two pieces
Don’t create large images
Don’t use a single layer image
Don’t create images from running containers
Don’t use only the “latest” tag
Don’t run more than one process in a single container
Don’t store credentials in the image. Use environment variables
Don’t run processes as a root user
Don’t rely on IP addresses


Trackback specific URI for this entry


Display comments as Linear | Threaded

No comments

Add Comment

Submitted comments will be subject to moderation before being displayed.

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.

Gravatar, Twitter, Pavatar, Identica author images supported.
Markdown format allowed