Skip to content

Commit 8bc3277

Browse files
committed
update comment
1 parent d6fc65a commit 8bc3277

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

dogfood/coder/main.tf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,14 @@ resource "coder_agent" "dev" {
373373
#!/usr/bin/env bash
374374
set -eux -o pipefail
375375
376-
# Stop all running containers and prune the system to clean up /var/lib/docker.
376+
# Stop all running containers and prune the system to clean up
377+
# /var/lib/docker to prevent errors during workspace destroy.
378+
#
379+
# WARNING! This will remove:
380+
# - all containers
381+
# - all networks not used by at least one container
382+
# - all images without at least one container associated to them
383+
# - all build cache
377384
docker ps -q | xargs docker stop
378385
docker system prune -a
379386

0 commit comments

Comments
 (0)