docker run max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] code example

Example 1: Max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

# Execute:
sudo sysctl -w vm.max_map_count=262144
# Execute:
sudo echo 'vm.max_map_count=262144' >> /etc/sysctl.conf

Example 2: Max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

# Execute: sudo sysctl -w vm.max_map_count=262144
# Execute: sudo echo 'vm.max_map_count=262144' >> /etc/sysctl.conf