Replies: 1 comment 1 reply
-
are you using rootless mode ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I run into a problem when copying files during image build and then trying to access these files at runtime. Here the steps I used to verify the problem (verified with Vagrant VM ubuntu/jammy64 and downloaded nerdctl full: nerdctl-full-1.2.0-linux-amd64.tar.gz):
I run a basic image, copying 1 file:
Dockerfile:
I build and run the image passing a command : sh -c "sleep 3600"
I connect to the running container:
and try to modify the copied file. It works.
I create another container with the same image but this time I connect specifying a user:
If I try to modify the copied file (manage.py) I receive an error:
And from that moment even reconnecting without the -u argument does not allow me to modify the file. If I stop/start the container it works again.
Do you know what I'm doing wrong? Or is this supposed to be the expected behavior?
Beta Was this translation helpful? Give feedback.
All reactions