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 mounts folders without files #1251

Open
1 of 5 tasks
RomanTheLegend opened this issue Jan 20, 2025 · 0 comments
Open
1 of 5 tasks

Colima mounts folders without files #1251

RomanTheLegend opened this issue Jan 20, 2025 · 0 comments

Comments

@RomanTheLegend
Copy link

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: 96598cc

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)
  • 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

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

1 participant