Skip to content

Commit cfddc0d

Browse files
docs: add how to edit colima default template file to README (#1405)
Signed-off-by: olalekan odukoya <[email protected]>
1 parent 83b288d commit cfddc0d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,25 @@ Or use a config file
7373
colima start --edit
7474
```
7575

76+
## Using Templates
77+
When you run the `colima template` command, Colima opens the default configuration in a temporary file using your editor (VS Code by default, if installed).
78+
79+
For example, you might see something like:
80+
```sh
81+
/var/folders/hm/xmq4vxs13dl2hx2jyct65r080000gn/T/colima-2758922589.yaml
82+
83+
```
84+
You can edit this temporary file as needed. Once you save and close the file in the editor, Colima automatically overwrites the default template config located at:
85+
```sh
86+
~/.colima/_templates/default.yaml
87+
88+
```
89+
To see more options for working with templates, run:
90+
```
91+
colima template --help
92+
93+
```
94+
7695
## Runtimes
7796

7897
On initial startup, Colima initiates with a user specified runtime that defaults to Docker.

0 commit comments

Comments
 (0)