Question

Starting Azuracast after system reboot.

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!


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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