Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfe4c412

Browse files
authored
fix(dogfood/coder): increase in-container docker daemon shutdown timeout (#17617)
The default is 10 seconds and will not successfully clean up largedevcontainers inside the workspace.Follow-up to#17528
1 parent650a48c commitfe4c412

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎dogfood/coder/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@ resource "coder_agent" "dev" {
353353
# Allow synchronization between scripts.
354354
trap 'touch /tmp/.coder-startup-script.done' EXIT
355355
356+
# Increase the shutdown timeout of the docker service for improved cleanup.
357+
# The 240 was picked as it's lower than the 300 seconds we set for the
358+
# container shutdown grace period.
359+
sudo sh -c 'jq ". += {\"shutdown-timeout\": 240}" /etc/docker/daemon.json > /tmp/daemon.json.new && mv /tmp/daemon.json.new /etc/docker/daemon.json'
356360
# Start Docker service
357361
sudo service docker start
358362
# Install playwright dependencies

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp