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

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -