-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colima ignores template's DNS config #1219
Comments
Hey gereog,
So, if you create a new profile with To change the current instance of Colima you could either:
I hope it is a little more clear than before :) |
@dcitterio Why doesn't |
You have to think that a "profile" is basically a VM that runs with its own configuration.
Every time you create a new profile, the VM will be created with the information that you configured in If you run
|
@dcitterio Thanks so much for the good explanation. Is the persistence of the |
Absolutely. The VM contains all the docker images that you downloaded of built.
Not directly. Still, I don't think that it is useful at all. |
I want to make it so that changes to the template will actually change the VM's configuration... I would like it so that updating memory limits, storage limits, and DNS nameservers in the template will actually change the memory and storage limits and DNS nameservers of the docker VM. |
Description
I was getting these errors when trying to start a docker container:
So I went into
colima template
, changednetwork.dns
to8.8.8.8
,8.8.4.4
, then rancolima restart
I've run
colima restart
,colima stop
,colima start
, etc.Nothing worked, I got exactly the same error message every time
Which was surprising, because 127.0.0.53 is not in my
/etc/resolv.conf
, it's not in myscutil --dns
, and it's not in mycolima template
! (I double checked several times,colima template
was not getting reset or anything)However, when I ran
The issue finally resolved.
I guess this means that
colima template
's DNS configurations are being ignored. Only the command-line flag works.Version
colima version 0.8.0
git commit: 9c08cff
runtime: docker
arch: aarch64
client: v27.3.1
server: v27.3.1
limactl version 1.0.1
Operating System
Output of
colima status
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/me/.colima/default/docker.sock
Reproduction Steps
dns
values incolima template
colima restart
Expected behaviour
docker will use the template-specified DNS servers
Additional context
No response
The text was updated successfully, but these errors were encountered: