abiosoft / abiosoft/colima

Colima mounts folders without files

Abierto
#1,251 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
30.8k
Forks
613
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Description

When mounting a local folder into docker, only one subfolder is crated and no files are mounted

Files in current folder
```
#find ./ -type f
.//LICENSE
.//Dockerfile
.//README.md
.//package-lock.json
.//package.json
.//tsconfig.json
.//jest.config.ts
.//src/constants/errors/index.ts
.//src/middlewares/authToken.ts
.//src/models/UserSchema.ts
.//src/index.ts

```

After mounting it into docker
```
docker run --rm -it -v ${PWD}:/app node:20.18.1-alpine /bin/sh
# cd /app
# find ./
./
./src
```

Files are not displayed.
Weirdly, in the beginning even empty folder was not listed in mounted dir until I ran `colima restart`

Docker version 27.3.1, build ce1223035a

The same issue happened on Colima 0.7.5

### Version

colima version 0.8.1
git commit: 96598cc5b64e5e9e1e64891642b91edc8ac49d16

runtime: docker
arch: aarch64
client: v27.3.1
server: v27.1.1
limactl version 1.0.3
qemu-img version 9.1.0
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers

### Operating System

- [ ] macOS Intel <= 13 (Ventura)
- [ ] macOS Intel >= 14 (Sonoma)
- [ ] Apple Silicon <= 13 (Ventura)
- [x] Apple Silicon >= 14 (Sonoma)
- [ ] Linux

### Output of `colima status`

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] address: 192.168.107.2
INFO[0000] socket: unix:///Users/xxxxxxx/.colima/default/docker.sock

### Reproduction Steps

Hard to reproduce, as this is typical command which should just work

### Expected behaviour

_No response_

### Additional context

_No response_

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.