You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to migrate the nc config and data from a local bind to an NFS docker volume, I keep getting the below permission errors.
When connected to the container I can see that all config files are attached to /config.
I added root ALL=(target_user) NOPASSWD: /bin/mkdir to the sudoer, and tried sudo -u abc -c mkdir fromcont and I could see the folder created on the server side.
Expected Behavior
the container should pick the config files and work just like the last state were it was left
Steps To Reproduce
upload the conf folder to NFS_server://container_volumes/nc/conf
upload the data folder to NFS_server://container_volumes/nc/data
chown both folders to 997
create two volume for each folder
create the container and attach the volumes
Environment
- OS: ubuntu 22
- How docker service was installed: following the official document
Is there an existing issue for this?
Current Behavior
While trying to migrate the nc config and data from a local bind to an NFS docker volume, I keep getting the below permission errors.
When connected to the container I can see that all config files are attached to /config.
I added
root ALL=(target_user) NOPASSWD: /bin/mkdir
to the sudoer, and triedsudo -u abc -c mkdir fromcont
and I could see the folder created on the server side.Expected Behavior
the container should pick the config files and work just like the last state were it was left
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: