Report this

What is the reason for this report?

Starting Azuracast after system reboot.

Posted on December 15, 2020

I am running the 1 click install of Azuracast and I want to run some updates on my droplet, but it occurs to me that I have no clue how to start Azuracast after I restart the system. I know this is a really basic question, but I am basically brand new to docker.

TIA!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @echoplex1media,

I believe that the 1-Click AzureCast from the Marketplace uses Docker.

So what you could do is to check the restart policy of your container. To do so run the following command and get your container ID:

  1. sudo docker ps -a

Then once you get your ID inspect the container and look for the RestartPolicy value:

  1. docker inspect -f "{{ .HostConfig.RestartPolicy }}" container_id

Or you could run this directly as well:

  1. docker inspect -f "{{ .HostConfig.RestartPolicy }}" container_id

If the restart policy is set to always or unlessStopped it should be ok to reboot as the container will be restarted after the reboot.

For more information about the Docker RestartPolicy, make sure to check out this post here:

https://www.digitalocean.com/community/questions/how-to-start-docker-containers-automatically-after-a-reboot

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.