Skip to content

Commit 9e8897e

Browse files
committed
feat(frontend): stop slave gracefully to tutorial
1 parent 3f59aa9 commit 9e8897e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

frontend/app/components/dashboard/slaves-page.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,21 @@ SLAVE_PORT=8081`}
161161
and you can start creating VMs on it. Good to go!
162162
</p>
163163
</li>
164+
165+
<li className="space-y-2">
166+
<div className="flex items-center gap-2">
167+
<span className="flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-primary text-xs font-bold text-primary-foreground">
168+
6
169+
</span>
170+
<span className="font-medium">Stopping the slave</span>
171+
</div>
172+
<p className="ml-8 text-muted-foreground">
173+
We recommend that you always stop the slave gracefully with the following command in order to avoid ghost VMs.
174+
</p>
175+
<pre className="ml-8 overflow-x-auto rounded-md bg-muted px-4 py-3 font-mono text-xs">
176+
docker compose --profile slave down
177+
</pre>
178+
</li>
164179
</ol>
165180
);
166181
}

0 commit comments

Comments
 (0)