Removed backtick expansion.

This commit is contained in:
Cyteen 2017-11-03 17:10:49 +00:00
parent d1d02d78c4
commit 7ad78c88c7
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
## Docker likes kernel swappiness support (on reboot) ## Docker likes kernel swappiness support (on reboot)
bash -c `perl -p -i -e 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"/g' /etc/default/grub` bash -c "$(perl -p -i -e 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"/g' /etc/default/grub)"
#Now that your server supports swap limit capabilities in your docker run command you can use --memory-swappiness=0 and set --memory-swap equal to --memory. You also need to set -Des.bootstrap.mlockall=true on the docker run commandline. #Now that your server supports swap limit capabilities in your docker run command you can use --memory-swappiness=0 and set --memory-swap equal to --memory. You also need to set -Des.bootstrap.mlockall=true on the docker run commandline.