You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
I'm using Windows machine and running Docker by Docker Toolbox. To run Elasticsearch 5.0, we have to increase the Docker host (boot2docker) virtual memory.
docker-machine ssh default
sudo vi /var/lib/boot2docker/profile
# Add this line into /var/lib/boot2docker/profile
sysctl -w vm.max_map_count=262144
# Now exit and check
exit
docker-machine restart default
However, after restarting my Windows machine, docker-machine resets the file /var/lib/boot2docker/profile. How to keep this value persistent?
Same issue here but I don't know if it was resolved or not?
The text was updated successfully, but these errors were encountered:
docker-machine ssh default
sudo vi /var/lib/boot2docker/bootlocal.sh
# Add this line into /var/lib/boot2docker/bootlocal.sh
sysctl -w vm.max_map_count=262144
sudo chmod +x /var/lib/boot2docker/bootlocal.sh
I'm using Windows machine and running Docker by Docker Toolbox. To run Elasticsearch 5.0, we have to increase the Docker host (boot2docker) virtual memory.
However, after restarting my Windows machine, docker-machine resets the file
/var/lib/boot2docker/profile
. How to keep this value persistent?Same issue here but I don't know if it was resolved or not?
The text was updated successfully, but these errors were encountered: