diff --git a/dogfood/main.tf b/dogfood/main.tf index f39ccc491e..f25e3069d4 100644 --- a/dogfood/main.tf +++ b/dogfood/main.tf @@ -90,19 +90,11 @@ resource "docker_image" "dogfood" { resource "docker_container" "workspace" { count = data.coder_workspace.me.start_count image = docker_image.dogfood.name - # Uses lower() to avoid Docker restriction on container names. - name = local.container_name + name = local.container_name # Hostname makes the shell more user friendly: coder@my-workspace:~$ - hostname = lower(data.coder_workspace.me.name) - dns = ["1.1.1.1"] + hostname = data.coder_workspace.me.name # Use the docker gateway if the access URL is 127.0.0.1 - command = [ - "sh", "-c", - <