Skip to content

Commit

Permalink
recommend read_only
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Nov 30, 2015
1 parent 0e8ee6a commit cffa55e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user-guide/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ You can test your Docker image locally with ``docker run -u 998 ...``.
Usually all apps (especially JVM-based applications) should be able to run as non-root.
Sadly most Docker images from the official Docker Hub assume running as root.
It is recommended to grant appropriate (world) permissions to files inside your Docker image if needed.
Stateless applications usually have no need to write to disk, using the ``read_only: true`` Taupage config option is recommended.
If you really need to run your Docker container as ``root``, you can use the ``root: true`` Taupage config option.
See the :ref:`Taupage reference <taupage>` for details.
Expand Down

0 comments on commit cffa55e

Please sign in to comment.