Sign in to follow this  
skyline7349

Script to restart docker service

Recommended Posts

How would i restart docker service via script? Sometimes when i do a force shutdown and power back on. Dockers wont start and say no container. So if I go to settings and disable docker and reenable everything is fine. Is there a way to do this via script?

Share this post


Link to post
Share on other sites
9 minutes ago, skyline7349 said:

No i meant the actual docker service not a docker container

/etc/rc.d/rc.docker ?
usage /etc/rc.d/rc.docker start|stop|restart|status

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Copyright © 2005-2017 Lime Technology, Inc. unRAID® is a registered trademark of Lime Technology, Inc.