Skip to content
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 with containerd runtime not exposing docker.sock #958

Open
1 of 5 tasks
harel-e opened this issue Jan 14, 2024 · 3 comments
Open
1 of 5 tasks

Colima with containerd runtime not exposing docker.sock #958

harel-e opened this issue Jan 14, 2024 · 3 comments

Comments

@harel-e
Copy link

harel-e commented Jan 14, 2024

Description

I started colima with containerd runtime. I cannot connect to it with docker since it didn't expose a docker socket
When I performed the same with docker runtime, it works fine.

Version

colima version 0.6.7
git commit: ba1be00

runtime: docker
arch: aarch64
client: v24.0.7
server: v24.0.7
limactl version 0.19.1
qemu-img version 8.2.0
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers

Operating System

  • macOS Intel <= 13 (Ventura)
  • macOS Intel >= 14 (Sonoma)
  • Apple Silicon <= 13 (Ventura)
  • Apple Silicon >= 14 (Sonoma)
  • Linux

Output of colima status

INFO[0000] colima [profile=test] is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: containerd
INFO[0000] mountType: virtiofs

Reproduction Steps

  1. colima start --vm-type vz --runtime containerd --cpu 2 test
  2. colima status

Expected behaviour

I expect colima to expose the docker.sock in the host OS and have it visible in colima status command, just like with docker runtime

Additional context

Sample output when using docker runtime

colima start --vm-type vz --runtime docker --cpu 2

colima status

INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:https:///Users/testing/.colima/default/docker.sock

@tvh
Copy link

tvh commented Jan 25, 2024

I am having the same issue. Until this is resolved, it is still possible to talk to docker via SSH:

docker context create colima-ssh --docker "host=ssh:https://colima"

@si458
Copy link

si458 commented Feb 7, 2024

same here but im using an old macbook with osx 11, docker wont install so i have to use containerd
edit: ignore me i can indeed run colima with docker and it works perfectly fine!

user@Users-MacBook-Pro ~ % colima version
colima version 0.6.8
git commit: 9b0809d0ed9ad3ff1e57c405f27324e6298ca04f

runtime: containerd
arch: x86_64
client: v1.7.3
server: 1.6.28
user@Users-MacBook-Pro ~ % colima status -e
INFO[0000] colima is running using QEMU                 
INFO[0000] arch: x86_64                                 
INFO[0000] runtime: containerd                          
INFO[0000] mountType: sshfs                             
INFO[0000] cpu: 2                                       
INFO[0000] mem: 2GiB                                    
INFO[0000] disk: 60GiB                                  
user@Users-MacBook-Pro ~ 

@tharwan
Copy link

tharwan commented May 29, 2024

Same issue here with 0.6.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants