wahyd4 / aria2-ariang-x-docker-compose

Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
1.79k stars 282 forks source link

改了docker-compose.yml 之后重启镜像内容还是没改 #69

Closed Prentice-svg closed 5 years ago

Prentice-svg commented 5 years ago

我改了docker-compose.yml之后重启镜像以及 重新编译docker-compose build 重新构建 docker-compose up -d 我修改docker-compose.yml的东西都没有变化 我是用的nextcloud

wahyd4 commented 5 years ago

What kind of change you've made?

Also, if you can try to describe the issue you have in English then would be perfect.

Prentice-svg commented 5 years ago

Sorry, my English is poor, the problem is I want to change the config of the docker-compose.yml file and I change something just like port and file dir, and I use the command docker-compose restart , but it's not working And I change the file Permission use this command chown -R www-data /abc but lt has an error chown: invalid user: ‘www-data’

wahyd4 commented 5 years ago

Cool, you are going to very good with explaining in English.

Ok, let's get to your issue, so when you change d the port and other stuff etc, you will need to run docker-compose down to destroy the old containers fordt. Then bring it up again. docker-compose restart will continue using the old containers, that's why it doesn't work.

On Mon, 2 Sep 2019 at 5:45 pm, Prentice notifications@github.com wrote:

Sorry, my English is poor, the problem is I want to change the config of the docker-compose.yml file and I change something just like port and file dir, and I use the command docker-compose restart , but it's not working And I change the file Permission use this command chown -R www-data /abc but lt has an error chown: invalid user: ‘www-data’

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/69?email_source=notifications&email_token=AAGMHYF6YXPEJJ3HT2V77PLQHTAAPA5CNFSM4IS2GMPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5U75UQ#issuecomment-527040210, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGMHYFRRYPZZC5SDRT3UY3QHTAAPANCNFSM4IS2GMPA .

-- Kind regards, Junwei Zhao

wahyd4 commented 5 years ago

For the filer permission make sure you have read the readme document properly.

I don't think the chosen command you run can work if you don't have that user on your host. They have different users between host and docker container.

On Mon, 2 Sep 2019 at 6:18 pm, Junv wahyd4@gmail.com wrote:

Cool, you are going to very good with explaining in English.

Ok, let's get to your issue, so when you change d the port and other stuff etc, you will need to run docker-compose down to destroy the old containers fordt. Then bring it up again. docker-compose restart will continue using the old containers, that's why it doesn't work.

On Mon, 2 Sep 2019 at 5:45 pm, Prentice notifications@github.com wrote:

Sorry, my English is poor, the problem is I want to change the config of the docker-compose.yml file and I change something just like port and file dir, and I use the command docker-compose restart , but it's not working And I change the file Permission use this command chown -R www-data /abc but lt has an error chown: invalid user: ‘www-data’

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/69?email_source=notifications&email_token=AAGMHYF6YXPEJJ3HT2V77PLQHTAAPA5CNFSM4IS2GMPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5U75UQ#issuecomment-527040210, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGMHYFRRYPZZC5SDRT3UY3QHTAAPANCNFSM4IS2GMPA .

-- Kind regards, Junwei Zhao

-- Kind regards, Junwei Zhao

Prentice-svg commented 5 years ago

thanks for your Suggest ,and my first problem has been solved, and I search the second problem on the internet but I'm not getting an answer, I don't know how to change the permission the docker user

wahyd4 commented 5 years ago

From your words, I don't know what exact change you've made or what commands you run. I reckon you should paste your docker-compose.yml and the logs.

Also, please try to list all the commands you run step by step.