Docker restart on CLI?

Currently reading
Docker restart on CLI?

95
16
NAS
DS918+, DS916+, DS214+, DS211j
Anybody knows how to restart docker from shell? Not the containers but the package itself.

And next question: anybody knows where I can find daemon.json that is loaded by the docker package or when not existing already where I've to create this file for docker?
 

Rusty

Moderator
NAS Support
2,814
861
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Anybody knows how to restart docker from shell? Not the containers but the package itself.
Code:
synoservice --restart pkgctl-Docker
Also you can use start and stop instead of restart
 
And next question: anybody knows where I can find daemon.json that is loaded by the docker package or when not existing already where I've to create this file for docker?
The Syno docker package stores the file in a different path with a different name: /var/packages/Docker/etc/dockerd.json
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Similar threads

Top