Command for restarting all running docker containers? -
how restart running docker containers.. looking shortcut instead doing docker restart containerid1 containerid2
just run docker restart $(docker ps -q)
update
for docker 1.13.1
use docker restart $(docker ps -a -q)
in answer lower.
Comments
Post a Comment