Docker - auto start container

Discussion about Docker
Locked
User avatar
flexline
Posts: 1
Joined: 30 Jul 2020, 18:27

Docker - auto start container

Post by flexline »

Good morning, I need to start automatically urbackup container after booting TOR.
I try to flag autostart option inside container but it isn't works.
Can i solve this?
Thanks,

Flexline
sports_wook
Posts: 74
Joined: 04 Feb 2020, 05:00

Re: Docker - auto start container

Post by sports_wook »

I've noticed this as well and it needs to be fixed. If anyone has a workaround or solution please post it here.
unixtall
Posts: 56
Joined: 31 Dec 2019, 19:02

Re: Docker - auto start container

Post by unixtall »

Me too, autostart container does not work.
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Docker - auto start container

Post by TMSupport »

We will check whether it's ok here and get back to you later.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
unixtall
Posts: 56
Joined: 31 Dec 2019, 19:02

Re: Docker - auto start container

Post by unixtall »

how is this going?
User avatar
TMzethar
TerraMaster Team
Posts: 1220
Joined: 27 Oct 2020, 16:43

Re: Docker - auto start container

Post by TMzethar »

We have reported this problem to our product team.This will attempt to be fixed in a later version.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
pabs
Posts: 15
Joined: 13 Nov 2020, 05:25

Re: Docker - auto start container

Post by pabs »

Hi,

Do you guys have a target date for the correction of the autostart flag ?

It was working before and this regression is kind of annoying for me.

Is there a way to launch it automatically from the command line when the NAS starts ?

Thanks
User avatar
TMroy
TerraMaster Team
Posts: 2606
Joined: 10 Mar 2020, 14:04
China

Re: Docker - auto start container

Post by TMroy »

New update is coming next week.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
pabs
Posts: 15
Joined: 13 Nov 2020, 05:25

Re: Docker - auto start container

Post by pabs »

Ok good news, meanwhile, here is a workaround: running the followind command will do the trick (for an already running containter - as on my side the daemon was up and running):

Code: Select all

docker update --restart unless-stopped <container_name>
See : https://docs.docker.com/config/containe ... matically/

Cheers
Locked

Return to “Docker”