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!

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.

×
Submit an Answer
1 answer

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:

  • sudo docker ps -a

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

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

Or you could run this directly as well:

  • 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