Skip to content

Rebuilding Container kills DNS resolver #57

@davepwsmith

Description

@davepwsmith

This feature builds and runs great the first time I run it, but when I rebuild the container, the DNS stops resolving.

I also notice that on rebuild the backup at /etc/resolv.pre-tailscale.conf is gone - so I wonder if this is something to do with it not having the right settings at startup? No idea how to fix - blatting the containers and volumes fixes this, but it's a pain to have to do it every time.

Base image:

FROM ghcr.io/rails/devcontainer/images/ruby:$RUBY_VERSION

features:

"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/rails/devcontainer/features/activestorage": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/rails/devcontainer/features/postgres-client": {},
"ghcr.io/tailscale/codespace/tailscale": {}
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions