Skip to content

Commit

Permalink
manage privilege option
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Moussaud committed Sep 2, 2016
1 parent 5122e50 commit d5e3df9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/docker/docker-create.sh.ftl
Expand Up @@ -16,6 +16,9 @@ echo "Running ${deployed_container.id}"
<#if (deployed_container.restartAlways)>
<#assign cmdLine = cmdLine + ["--restart=always"]/>
</#if>
<#if (deployed_container.extendedPrivileges)>
<#assign cmdLine = cmdLine + ["--privileged"]/>
</#if>
<#if (deployed_container.memory??)>
<#assign cmdLine = cmdLine + ["--memory ${deployed_container.memory}" ]/>
</#if>
Expand Down

0 comments on commit d5e3df9

Please sign in to comment.