Skip to content

Instantly share code, notes, and snippets.

@git-bhanu
Created April 30, 2024 16:11
Show Gist options
  • Save git-bhanu/8021868815f4c79b5452d3f0d16371ac to your computer and use it in GitHub Desktop.
Save git-bhanu/8021868815f4c79b5452d3f0d16371ac to your computer and use it in GitHub Desktop.
Docker important commands
# restart only those docker container which are exited
docker restart $(docker container ls -f status=exited -a -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment