Облегчаем docker контейнеры

Иногда требуется сократить использование RAM, например на слабых хостингах, в тестовых средах или для локальной разработки.

Для сокращения использования памяти контейнерами mysql, mariadb можно добавить "--innodb-buffer-pool-size=64m" к запуску. Например для docker-compose:

  db:                                                                                             
    image: mariadb:10.1
    ...                                                                          
    command: --innodb-buffer-pool-size=64m

User tags

rpm asoundrc qcow2 replication sftp mdadm qemu nginx cluster nfs4 pacemaker mount PXE fail2ban perl corosync scsi cfq conntrack lts boot RT ha /etc/network/interfaces graylog2 fido7 virt-install LSI alien source glusterfs LVM debian bug opcontrol gtk freedos iops iowait ssh mariadb glxinfo lubuntu Swift sysctl.conf sysrq newgrp opreport HDFS zRam ulimit 3Ware taskset chroot rsync rtl8723be SYN iptables arping X forwarding rtsp initrd MegaRAID jackd bacula hdparm netfilter SpamAssassin shellshock SuperMicro ps encrypt chromium wget route tar Adaptec HTTPS DRBD gdb nvidia AMD git docker-compose OpenStack vtysh dhclient mkfs xfs routing equalizer dstat virtualbox gre numa puppet CentOS lstat sysresccd APU grub dhcp iostat NFS virsh keyboard SSD alsa idmapd ipmi lxc etch xargs cpanm .htaccess pvmove search core dump quagga cgroups deb radeon ipmitool youtube KVM usb oprofile mysql wordpress tin ubuntu ansible cache noop groups raid Areca vrrp apache vim bash openvpn rkhunter arp arch ardour security erase backup centos 7 exim4 dovecot iSCSI tftp exim gpg soa vlan PTR language ip bind sysfs xen su leap second parallel apt MODx build bonding perlbrew tun video dns squeeze performance shorewall docker java php fio tool Salt munin debootstrap StorMan swap in-addr.arpa drupal find lenny ddos firefox sysctl regex top tzdata pulseaudio raid5 profiling vrrpd xhost CPAN cpu usage bscan proxy OpenSSL storage sublime pam flash limit_conn bridge slab kernel cpu hotplug sg elliptics tiger dpkg backtrace htop