Add a Docker entrypoint script and modify Dockerfiles to mimic Vault, to enable mlock inside Docker containers (#1269)

* Add a Docker entrypoint script and modify Dockerfiles to enable mlock
This commit is contained in:
Joe Thompson authored and GitHub committed 2021-06-07 20:42:28 -07:00
1 parent 0f0137a7db
commit cc843dd796
4 files changed
+58 -4

No files matched your search

+2 -2
View File
@@ -12,6 +12,6 @@ RUN chown -R boundary:boundary /boundary/
EXPOSE 9200 9201 9202
VOLUME /boundary/
USER boundary
ENTRYPOINT ["/bin/boundary"]
COPY ./docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["server", "-config", "/boundary/config.hcl"]