File tree 5 files changed +58
-2
lines changed
5 files changed +58
-2
lines changed Original file line number Diff line number Diff line change @@ -170,3 +170,59 @@ See our
170
170
to optimize your templates based on this data.
171
171
172
172
![ Workspace build timings UI] ( ../../images/admin/templates/troubleshooting/workspace-build-timings-ui.png )
173
+
174
+ ## Docker Workspaces on Raspberry Pi OS
175
+
176
+ ### Unable to query ContainerMemory
177
+
178
+ When you query ` ContainerMemory ` and encounter the error:
179
+
180
+ ``` shell
181
+ open /sys/fs/cgroup/memory.max: no such file or directory
182
+ ```
183
+
184
+ This error mostly affects Raspberry Pi OS, but might also affect older Debian-based systems as well.
185
+
186
+ <details ><summary >Add cgroup_memory and cgroup_enable to cmdline.txt:</summary >
187
+
188
+ 1 . Confirm the list of existing cgroup controllers doesn't include ` memory ` :
189
+
190
+ ``` console
191
+ $ cat /sys/fs/cgroup/cgroup.controllers
192
+ cpuset cpu io pids
193
+
194
+ $ cat /sys/fs/cgroup/cgroup.subtree_control
195
+ cpuset cpu io pids
196
+ ```
197
+
198
+ 1 . Add cgroup entries to ` cmdline.txt ` in ` /boot/firmware ` (or ` /boot/ ` on older Pi OS releases):
199
+
200
+ ``` text
201
+ cgroup_memory=1 cgroup_enable=memory
202
+ ```
203
+
204
+ You can use ` sed ` to add it to the file for you:
205
+
206
+ ``` bash
207
+ sudo sed -i ' $s/$/ cgroup_memory=1 cgroup_enable=memory/' /boot/firmware/cmdline.txt
208
+ ```
209
+
210
+ 1 . Reboot:
211
+
212
+ ``` bash
213
+ sudo reboot
214
+ ```
215
+
216
+ 1 . Confirm that the list of cgroup controllers now includes ` memory ` :
217
+
218
+ ``` console
219
+ $ cat /sys/fs/cgroup/cgroup.controllers
220
+ cpuset cpu io memory pids
221
+
222
+ $ cat /sys/fs/cgroup/cgroup.subtree_control
223
+ cpuset cpu io memory pids
224
+ ```
225
+
226
+ Read more about cgroup controllers in [ The Linux Kernel] ( https://docs.kernel.org/admin-guide/cgroup-v2.html#controlling-controllers ) documentation.
227
+
228
+ </details >
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ To start the Coder server:
49
49
coder server
50
50
```
51
51
52
- ![ Coder install] ( ../images/install/coder-setup .png )
52
+ ![ Coder install] ( ../images/screenshots/welcome-create-admin-user .png )
53
53
54
54
To log in to an existing Coder deployment:
55
55
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ To start the Coder server:
60
60
coder server
61
61
```
62
62
63
- ![ Coder install] ( ../images/install/coder-setup .png )
63
+ ![ Coder install] ( ../images/screenshots/welcome-create-admin-user .png )
64
64
65
65
To log in to an existing Coder deployment:
66
66
You can’t perform that action at this time.
0 commit comments