Comments (8)
Thanks for your detailed response and workaround.
I have actually considered this before but I thought it will be a rare case. I should work on a fix soon.
from colima.
@irisTa56 can you try the current master version? https://raw.githubusercontent.com/abiosoft/colima/master/colima.
If you need help on how to install
curl -LO https://raw.githubusercontent.com/abiosoft/colima/master/colima && sudo install colima /usr/local/bin/colima
If you wouldn't mind, I would prefer a fresh start. i.e. colima delete
and colima start
.
I am pretty sure it is fixed. But want to confirm from your end before making a new release.
Thanks.
from colima.
@abiosoft
Thank you very much for such a quick update!!
I confirmed the followings:
$ curl -LO https://raw.githubusercontent.com/abiosoft/colima/master/colima && sudo install colima /usr/local/bin/colima
[...]
$ colima delete
Are you sure you want to delete the VM and all settings? [y/N] y
[colima] 16:37:11 deleting docker and kubernetes configs ...
$ rm -rf ~/.colima # to remove my workaround script
$ colima start
[colima] 16:44:04 starting VM ...
[colima] 16:44:34 provisioning VM ...
[colima] 16:44:34 provisioning docker ...
[colima] 16:44:34 starting docker ...
[colima] 16:44:35 docker startup successful
[colima] 16:44:35 done
$ colima status
docker is installed VM?
success
docker is running in VM?
success
docker is installed on Host?
success
docker client on host can access the VM server?
success
kubernetes is installed in VM?
error
kubernetes is running in VM?
error
kubernetes client on host can access the VM?
error
some checks failed :(
// and docker commands works fine!
from colima.
P.S.
I noticed that I didn't run colima delete
successfully because of kubectl: command not found
.
So I commented out this line, and then confirm again:
$ colima delete
Are you sure you want to delete the VM and all settings? [y/N] y
[colima] 17:04:20 deleting docker and kubernetes configs ...
[colima] 17:04:20 deleting colima VM ...
[colima] 17:04:20 stopping docker ...
[colima] 17:04:21 stopping VM ...
[colima] 17:04:22 done
[colima] 17:04:24 deleting other configs ...
[colima] 17:04:24 done
$ colima start
[colima] 17:04:32 creating and starting VM ...
[colima] 17:05:28 provisioning VM ...
[colima] 17:05:28 provisioning docker ...
[colima] 17:05:28 provisioning docker in VM ...
[colima] 17:05:56 restarting VM to complete docker setup ...
[colima] 17:06:30 VM restarted
[colima] 17:06:31 starting docker ...
[colima] 17:06:31 docker startup successful
[colima] 17:06:31 done
$ colima status
docker is installed VM?
success
docker is running in VM?
success
docker is installed on Host?
success
docker client on host can access the VM server?
success
kubernetes is installed in VM?
error
kubernetes is running in VM?
error
kubernetes client on host can access the VM?
error
some checks failed :(
from colima.
P.S.
I noticed that I didn't run
colima delete
successfully because ofkubectl: command not found
.
So I commented out this line, and then confirm again:
thanks for catching that
from colima.
Hi @abiosoft. I'm having this same issue on v0.2.2, even after a clean start with colima delete
and colima start
. Even the workaround explained by @irisTa56 doesn't seem to help.
Getting Cannot connect to the Docker daemon at unix:///Users/nicolas.gonik/.docker/run/docker.sock. Is the docker daemon running?
when doing docker ps
or any other docker action.
Your help will be greatly appreciated.
from colima.
Hi @abiosoft. I'm having this same issue on v0.2.2, even after a clean start with
colima delete
andcolima start
. Even the workaround explained by @irisTa56 doesn't seem to help.Getting
Cannot connect to the Docker daemon at unix:///Users/nicolas.gonik/.docker/run/docker.sock. Is the docker daemon running?
when doingdocker ps
or any other docker action.Your help will be greatly appreciated.
@ngonik Looks like you have multiple docker contexts configured.
What does running docker context ls
give you? If it lists more than one, switching to the default with docker context use default
should resolve it.
from colima.
That did the trick. Thanks!
from colima.
Related Issues (20)
- Too many open files when spinning up multiple kind clusters HOT 3
- DNS errors with AWS S3
- Kubernetes cluster not accessible - using `kubectl` command from the host machine's terminal
- Colima should not tell linux users to "brew install" HOT 3
- docker run with --mac-address option fails
- Docker Image for Elastic search version 8.8.0 not connecting with the Application that has same Elasticsearch version
- colima start does not honor default config, but then overwrites it HOT 4
- Fresh install on monterey HOT 1
- Colima hangs on macOS, cannot stop HOT 15
- Rosetta-emulation not working
- Add emulation for i386 in the vm images
- Rosetta emulation not working in Colima HOT 3
- can't connect to localhost on osx big sur HOT 2
- containers not receiving stop signal
- Colima using global tmp preventing vm start-up in multi user usage when using --vm-type=vz
- ga.sock Issue - Guest agent does not seem to be running; port forwards will not work HOT 14
- How to change colima config default image HOT 2
- Can't mount `docker.sock` when using `virtiofs`
- Colima doesn't run on M2 Macs HOT 1
- Containers on Apple Silicon with emulated x86 are not reachable from outside HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colima.