Removed backtick expansion.
This commit is contained in:
parent
d1d02d78c4
commit
7ad78c88c7
|
|
@ -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.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue