digiline-io / Secret-IDE-Plugin

GNU General Public License v3.0
11 stars 4 forks source link

secret_ide/_data, flags: 0x1000: no such file or directory #4

Closed luca992 closed 2 years ago

luca992 commented 2 years ago

I tried the three setup commands listed in the read me. And I get this error:

lucaspinazzola@Lucas-MBP ~ % docker volume create --driver local --opt type=none --opt device=${PWD}/data --opt o=bind secret_ide
secret_ide
lucaspinazzola@Lucas-MBP ~ % docker run -p 8888:8888 -v secret_ide:/home/secret-ide-user/ -it ghcr.io/digiline-io/secret-ide:latest
docker: Error response from daemon: failed to mount local volume: mount /host_mnt/Users/lucaspinazzola/data:/var/lib/docker/volumes/secret_ide/_data, flags: 0x1000: no such file or directory.
See 'docker run --help'.

I'm on a m1 mac, is arm64 not supported? Or is this just a normal path issue?

thelmuxkriovar commented 2 years ago

M1 is supported actually, can you try doing mkdir data after creating the volume?

luca992 commented 2 years ago

M1 is supported actually, can you try doing mkdir data after creating the volume?

ahh you're right. the /host_mnt/ path prefix in the error was confusing me. running mkdir ~/data worked.

might want to add that to the readme

thelmuxkriovar commented 2 years ago

awesome, I'm glad the issue is fixed, closing :+1: