Update
This commit is contained in:
@@ -7,9 +7,9 @@ resource "docker_image" "home-assistant" {
|
||||
pull_triggers = [data.docker_registry_image.home-assistant.sha256_digest]
|
||||
|
||||
# Try to preserve the docker image before removing the container
|
||||
lifecycle {
|
||||
create_before_destroy = true
|
||||
}
|
||||
# lifecycle {
|
||||
# create_before_destroy = true
|
||||
# }
|
||||
}
|
||||
|
||||
resource "docker_container" "home-assistant" {
|
||||
|
||||
Reference in New Issue
Block a user