浏览代码

Add some note when creating a base image

Andreas Streichardt 9 年之前
父节点
当前提交
d3d3c4ef33
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      arangodb/content.md

+ 4 - 0
arangodb/content.md

@@ -138,3 +138,7 @@ If want to save a few bytes you can alternatively use [busybox](https://registry
 ```console
 unix> docker run -d --name arangodb-persist -v /var/lib/arangodb busybox true
 ```
+
+### Using as a base image
+
+If you are using the image as a base image please make sure to wrap any CMD in the [exec](https://docs.docker.com/engine/reference/builder/#cmd) form. Otherwise the default entrypoint will not do its bootstrapping work.