This has nothing to do with particular docker image execution / download etc. it is related to using sudo
sudo command is used to execute command as a different user usually root
1.) You may want to try execute without sudo i.e. docker run ...
2.) Login as root / admin who can execute docker etc.
3.) Insert the correct password for using sudo
Hope this helps, if not you need study basics
Mega.nz through QNAP
-
- Starting out
- Posts: 13
- Joined: Fri Jan 03, 2014 3:33 pm
Re: Mega.nz through QNAP
Try without sudo
-
- Starting out
- Posts: 19
- Joined: Sun Mar 07, 2021 12:22 am
Re: Mega.nz through QNAP
Thanks, OK, I found it. I needed to enable the admin account, and login with that, and the command ran. I disabled the admin account following the guides from QNAP after the recent ransomware attacks, and logged in with another account, which had admin privileges, but apparently, it was not working (typing it the password of that account didn't work either).
Last edited by gnapfan111 on Wed Jun 09, 2021 5:42 am, edited 3 times in total.
-
- Starting out
- Posts: 19
- Joined: Sun Mar 07, 2021 12:22 am
Re: Mega.nz through QNAP
I'm getting there. I managed to login with VNC, and setup a sync, so it is running. Finally!
I tried the following:
sudo docker run --name megasync --restart always -e DISPLAY=':1' -e HOME='/home/mega' -e USER='megasync' -d -p 5901:5901 -v /QStor/ClassX:/megaclient-folders/ johnshine/mega.syno:latest
Files are downloaded from Mega.nz, but the folder mapping doesn't seem to work.
I tried the following:
sudo docker run --name megasync --restart always -e DISPLAY=':1' -e HOME='/home/mega' -e USER='megasync' -d -p 5901:5901 -v /QStor/ClassX:/megaclient-folders/ johnshine/mega.syno:latest
Files are downloaded from Mega.nz, but the folder mapping doesn't seem to work.
Last edited by gnapfan111 on Thu Jun 10, 2021 1:26 am, edited 3 times in total.
-
- Starting out
- Posts: 19
- Joined: Sun Mar 07, 2021 12:22 am
Re: Mega.nz through QNAP
And what resources do you suggest to study the basics?