Changes for page Colima
Last modified by Sebastian Marsching on 2024/10/24 12:42
From version 1.1
edited by Sebastian Marsching
on 2023/03/21 18:34
on 2023/03/21 18:34
Change comment:
There is no comment for this version
To version 2.1
edited by Sebastian Marsching
on 2024/10/24 12:42
on 2024/10/24 12:42
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,7 @@ 1 +{{toc/}} 2 + 3 +# Getting Started 4 + 1 1 [Colima](https://github.com/abiosoft/colima) is an open-source alternative to Docker Desktop on Mac. It can easily be installed via [Homebrew](https://brew.sh/): 2 2 3 3 ```sh ... ... @@ -25,4 +25,21 @@ 25 25 colima start --arch aarch64 --vm-type=vz --vz-rosetta 26 26 ``` 27 27 28 - 32 +# Changing kernel variables with sysctl 33 + 34 +For some applications (e.g. Elasticsearch) kernel parameters have to be changed with sysctl. In order to not have to do this manually everytime Colima is started, one can edit the Colima configuration using 35 + 36 +```sh 37 +colima start --edit 38 +``` 39 + 40 +Inside the editor, one can then add code that is supposed to be executed on startup. For example: 41 + 42 +```diff 43 +- provision: [] 44 ++ provision: 45 ++ - mode: system 46 ++ script: sysctl -w vm.max_map_count=262144 47 +``` 48 + 49 +Please refer to [this GitHub issue](https://github.com/abiosoft/colima/issues/384) for details.