We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 650a48c commit fe4c412Copy full SHA for fe4c412
dogfood/coder/main.tf
@@ -353,6 +353,10 @@ resource "coder_agent" "dev" {
353
# Allow synchronization between scripts.
354
trap 'touch /tmp/.coder-startup-script.done' EXIT
355
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'
360
# Start Docker service
361
sudo service docker start
362
# Install playwright dependencies
0 commit comments