File tree Expand file tree Collapse file tree
modules/scripts/startup-script Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 dest : /etc/docker/daemon.json
4444 mode : ' 0644'
4545 content : ' {{ docker_daemon_config }}'
46- # validate flag requires Docker server version 23.0 and above
47- # can add this back after private A3 DLVM image is deprecated
48- # this image comes with Docker version 20.10.17
49- # validate: /usr/bin/dockerd --validate --config-file %s
46+ validate : /usr/bin/dockerd --validate --config-file %s
5047 when : docker_daemon_config
5148 notify :
5249 - Restart Docker
Original file line number Diff line number Diff line change @@ -254,19 +254,6 @@ locals {
254254 }
255255}
256256
257- check "health_check" {
258- assert {
259- condition = local. docker_config == {}
260- error_message = <<- EOT
261- This message is only a warning. The Toolkit performs no validation of the
262- Docker daemon configuration. VM startup scripts will fail if the file is not
263- a valid Docker JSON configuration. Please review the Docker documentation:
264-
265- https://docs.docker.com/engine/daemon/
266- EOT
267- }
268- }
269-
270257resource "random_id" "resource_name_suffix" {
271258 byte_length = 4
272259}
You can’t perform that action at this time.
0 commit comments