Maybe you can try “ll” command to check the user of your current directory.
You also can add a “sudo” in front of your command.
Or maybe you can “sudo chown -R hailo:ht .” , then run your command.
I use a simple script file in the shared_with_docker/ directory. Create a new bash script with the following content.
#!/bin/bash
sudo chown $(id -u):$(id -g) * -R
To work inside the Docker container, call the script from within the container to ensure all files and directories can be modified. To copy or create new files from outside the container, run the script from outside the Docker container.