in CODING, Tips & Tricks

More Things I Keep Forgetting!

[This is a work in progress and will be added to as I go!]

I have been using Docker to containerise some small services that don’t need their own VMs but if I don’t touch them for a week or so, I forget the commands to manage them!

The main one is to restart all containers on that Docker instance:

<code>docker restart $(docker ps -q)</code>