AndroTainer
AndroTainer copied to clipboard
Could you please support the "restart" operation to the container?
Hi Zarko,
I notice that some time my container happened to stop and can't be started again. Then I had to restart the container to run it. But androtainer doesn't support the operation... I had to open my pc and restart it...😅
So, do you have any plan to supoort this operation?
Restart API: api/endpoints/2/docker/containers/(...container id..)/restart
Thanks, Michael
Hey Michael,
What was the status that was shown in Androtainer, since I think that the restart API is just using stop and start functions.
So you should also be able to do that through Androtainer.
Regards, Zarko
On Tue, Nov 16, 2021, 11:48 Michael @.***> wrote:
Hi Zarko,
I notice that some time my container happened to stop and can't be started again. Then I had to restart the container to run it. But androtainer doesn't support the operation... I had to open my pc and restart it...😅
So, do you have any plan to supoort this operation?
Restart API: api/endpoints/2/docker/containers/(...container id..)/restart
Thanks, Michael
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dokeraj/AndroTainer/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIMHORTCB5L4PZPYEQXUNLUMIZJPANCNFSM5ID55YKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
No, i can't start the stopped container. It shows "Error" after i try to click start.
And I also found that i cannot remove a stopped container. it shows "Error deleting container! Please try again."
It seems that the container has been deleted is still displayed in the list in Androtainer. So I think maybe it is the reason why error.
Hmm, I will take a look at that endpoint and I will let you know. I'm still baffled that restart is doing something different than regular stop/start.
On Tue, Nov 16, 2021, 15:59 Michael @.***> wrote:
No, i can't start the stopped container. It shows "Error" after i try to click start. [image: image] https://user-images.githubusercontent.com/15730936/142008879-f68994b0-b9e3-4b39-83ae-c7044946d64d.png
[image: image] https://user-images.githubusercontent.com/15730936/142008949-a209c686-86d9-4aef-b772-3792a4907ca0.png
And I also found that i cannot remove a stopped container. it shows "Error deleting container! Please try again."
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dokeraj/AndroTainer/issues/34#issuecomment-970356483, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIMHOXE4YF2F7IJSBHX52LUMJWT7ANCNFSM5ID55YKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I am not sure about how restart works. But restart did let my app started.... and just stop/start can't work....😑🙃
And I think that maybe recreate can be supported also, in case of start/restart not working......
I will check that out too. Perhaps I will have more free time this weekend.
On Wed, Nov 17, 2021, 12:37 Michael @.***> wrote:
And I think that maybe recreate can be support also, in case of start/restart not working......
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dokeraj/AndroTainer/issues/34#issuecomment-971492557, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIMHOSU5CK36GIWO3ZONXDUMOHWZANCNFSM5ID55YKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
@Zhao-Michael I didn't have free time the past week, I will see if I can squeeze some time next week
No problem, actually i don't think it's a very big issue. Please take your time~
No problem, actually i don't think it's a very big issue. Please take your time~
Hello,
Same issue here, not able to start a container.
Thank you
@rezzalex can you tell me the version of docker and portainer you're using
@rezzalex can you tell me the version of docker and portainer you're using
Docker CE 29.10.9 Portainer CE 2.11.1.R01
APIs are different according to docker and portainer version, right ?
@rezzalex yes, there might be some changes between versions, but are you sure about the version of Docker, since what I can see the latest version of docker is 20.10.14
https://docs.docker.com/engine/release-notes/
@dokeraj , typo, sorry, 20.10.9.r2
api version 1.41 (minimum version 1.12)
@rezzalex what happens if you try to stop and start the container using the Portainer web GUI? Does it still have error, or it let's you start it again?
working perfectly inside Portainer UI
working perfectly inside Portainer UI
Hello @dokeraj ,
were you able to have a look at this start issue ? Also, a restart action button would be wonderful !
Hallo! I do have the same problem. I can stop a container but not start it again
I'm running app version 2.2 for docker 20.10.9 with Portainer 2.13.1 on a NAS (Asustor AS6202T)
@fuxing-at sorry I tried but I cannot reproduce this issue on my end.
@Zhao-Michael in the latest version - you can restart a container by long pressing the START
/ STOP
button
@fuxing-at sorry I tried but I cannot reproduce this issue on my end. @Zhao-Michael in the latest version - you can restart a container by long pressing the
START
/STOP
button
@dokeraj I have tried with my current version (2.2)... No restart as far as I can see. What did I missed ?
There was a problem with publishing the new version (2.3) on playstore. It should be live in a few hours. If you don't want to wait you can download the .apk if you go to the releases page in the github repo.
On Sun, Dec 11, 2022, 22:56 RezzA @.***> wrote:
@fuxing-at https://github.com/fuxing-at sorry I tried but I cannot reproduce this issue on my end. @Zhao-Michael https://github.com/Zhao-Michael in the latest version - you can restart a container by long pressing the START / STOP button
@dokeraj https://github.com/dokeraj I have tried with my current version (2.2)... No restart as far as I can see. What did I missed ?
— Reply to this email directly, view it on GitHub https://github.com/dokeraj/AndroTainer/issues/34#issuecomment-1345667287, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIMHOQUCO7K7474JDGHQILWMZE2NANCNFSM5ID55YKA . You are receiving this because you were mentioned.Message ID: @.***>