GithubHelp home page GithubHelp logo

Comments (8)

abiosoft avatar abiosoft commented on May 13, 2024 1

It is perfectly fine for the docker socket file to be available and be a broken link. In fact, that was the design. It becomes an active link only when Colima is up and running.

Are you sure that Colima started successfully and yet you couldn't use docker? If yes, can you share the outputs of colima start, colima version and colima status commands executed in that order.

Thanks.

from colima.

abiosoft avatar abiosoft commented on May 13, 2024 1

okay, can you kindly share the outputs of these commands? #7 (comment)

from colima.

abiosoft avatar abiosoft commented on May 13, 2024 1

Thanks for the sharing the log output.
BTW I am actually not asking for the verbose output :), the standard one is fine.

I am struggling to reproduce your scenario. Are you saying that starting colima with colima start --cpu 3 --memory 6 --disk 75 is causing the issue for you?.

If you wouldn't mind one more time, can you just run this in your terminal and share the output as it is from your terminal. No need to tail the verbose log.

colima stop
colima start --cpu 3 --memory 6 --disk 75
colima version
colima status

from colima.

abiosoft avatar abiosoft commented on May 13, 2024 1

That looks perfectly fine.

If you were able to reproduce it again, it would be appreciated if you can update this thread.

Thanks.

from colima.

abiosoft avatar abiosoft commented on May 13, 2024

I will actually be closing this issue as what you've described (with regards to the socket) is the expected behaviour.
I will re-open when an issue is ascertained.

from colima.

vraravam avatar vraravam commented on May 13, 2024

As mentioned in point 4, the subsequent start of colima still has the error.

ok - I think my usage was the problem:
I have these aliases:

alias start_colima='colima start --cpu 3 --memory 6 --disk 75'
alias stop_colima='colima stop'

My guess: when I use start_colima and it detects a change in the config, then the socket doesn't work anymore. Is this true?

from colima.

vraravam avatar vraravam commented on May 13, 2024
; colima start
Linux
● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-09-10 14:53:54 UTC; 52min ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 764 (dockerd)
      Tasks: 16
     Memory: 1.7G
     CGroup: /system.slice/docker.service
             └─764 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
Warning: Stopping docker.service, but it can still be activated by:
  docker.socket
time="2021-09-10T21:17:39+05:30" level=info msg="Sending SIGINT to hostagent process 46698"
time="2021-09-10T21:17:39+05:30" level=info msg="Waiting for the host agent and the qemu processes to shut down"
time="2021-09-10T21:17:39+05:30" level=info msg="[hostagent] Received SIGINT, shutting down the host agent"
time="2021-09-10T21:17:39+05:30" level=info msg="[hostagent] Shutting down the host agent"
time="2021-09-10T21:17:39+05:30" level=info msg="[hostagent] Unmounting \"/Users/vijay\""
time="2021-09-10T21:17:39+05:30" level=info msg="[hostagent] Unmounting \"/tmp/colima\""
time="2021-09-10T21:17:39+05:30" level=info msg="[hostagent] Shutting down QEMU with ACPI"
time="2021-09-10T21:17:39+05:30" level=warning msg="[hostagent] connection to the guest agent was closed unexpectedly"
time="2021-09-10T21:17:39+05:30" level=info msg="[hostagent] Sending QMP system_powerdown command"
time="2021-09-10T21:17:49+05:30" level=info msg="[hostagent] Forwarding \"/run/user/501/lima-guestagent.sock\" (guest) to \"/Users/vijay/.lima/colima/ga.sock\" (host)"
time="2021-09-10T21:17:49+05:30" level=warning msg="[hostagent] failed to setting up forward from \"/run/user/501/lima-guestagent.sock\" (guest) to \"/Users/vijay/.lima/colima/ga.sock\" (host)"
time="2021-09-10T21:17:49+05:30" level=warning msg="[hostagent] connection to the guest agent was closed unexpectedly"
time="2021-09-10T21:17:59+05:30" level=info msg="[hostagent] Forwarding \"/run/user/501/lima-guestagent.sock\" (guest) to \"/Users/vijay/.lima/colima/ga.sock\" (host)"
time="2021-09-10T21:17:59+05:30" level=warning msg="[hostagent] failed to setting up forward from \"/run/user/501/lima-guestagent.sock\" (guest) to \"/Users/vijay/.lima/colima/ga.sock\" (host)"
time="2021-09-10T21:18:00+05:30" level=warning msg="[hostagent] connection to the guest agent was closed unexpectedly"
time="2021-09-10T21:18:10+05:30" level=info msg="[hostagent] Forwarding \"/run/user/501/lima-guestagent.sock\" (guest) to \"/Users/vijay/.lima/colima/ga.sock\" (host)"
time="2021-09-10T21:18:10+05:30" level=warning msg="[hostagent] failed to setting up forward from \"/run/user/501/lima-guestagent.sock\" (guest) to \"/Users/vijay/.lima/colima/ga.sock\" (host)"
time="2021-09-10T21:18:10+05:30" level=warning msg="[hostagent] connection to the guest agent was closed unexpectedly"
time="2021-09-10T21:18:15+05:30" level=info msg="[hostagent] QEMU has exited"
; colima stop

I can confirm that just using the plain vanilla colima start and colima stop avoided the issue. And thus, it points to the fact that colima thinking that the config changed is the root cause of this behavior

from colima.

vraravam avatar vraravam commented on May 13, 2024

Screenshot 2021-09-10 at 10 04 45 PM

from colima.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.