jowi Posted April 5, 2015 Share Posted April 5, 2015 I've developed some extensive scripts for sabnzbd, which need some adaptions now i'm testing with V6 and a sabnzbd docker. E.g. the scripts refer to /mnt/user/tvseries etc and those folders are now 'redirected' in the docker. I've changed the scripts so they use the 'redirected' folders that exist within the vm, but it doesnt work properly yet. So i want to debug. But, if i want to debug or run the scripts manually, how do i do that? They now run inside the sabnzbd docker. How do i logon to a docker vm, in this case, a sabnzbd docker? Quote Link to comment
saarg Posted April 5, 2015 Share Posted April 5, 2015 You can go inside the docker with this command: docker exec -it containerID /bin/bash You can use either the containerID or the container name. Quote Link to comment
jowi Posted April 5, 2015 Author Share Posted April 5, 2015 Thanks! Works perfectly Quote Link to comment
jowi Posted April 9, 2015 Author Share Posted April 9, 2015 Now my script, running in a sabnzbd docker, needs to create a folder for a downloaded episode of some tv show. With the plugin this works without a problem but with the dock er i get a permission denied error... the folder is on the array, e.g. /mnt/disk1/tvseries/ and this is 'mapped' to the docker as '/tvseries' . I want to create a folder in there, from a script running inside the docker, e.g. ' family guy'. Do i need to set some permissions (chown, chmod) etc, to allow a docker to create a folder on the array? Quote Link to comment
jowi Posted April 10, 2015 Author Share Posted April 10, 2015 Ok, in other words, if i'm a user inside a docker, what rights do i need to set on an array disk/folder, so i can create a folder there, from inside the docker? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.