Skip to content

Instantly share code, notes, and snippets.

@Aviksaikat
Last active March 7, 2023 12:57
Show Gist options
  • Save Aviksaikat/f93cef55902a021260ab0347de1801cd to your computer and use it in GitHub Desktop.
Save Aviksaikat/f93cef55902a021260ab0347de1801cd to your computer and use it in GitHub Desktop.
Remove docker container by name
#docker rm $(docker ps -a --filter name=tfm_joomla_cluster-tidbsetup-centos_ssh_\* --format="{{.ID}}")
# wildcard (*) can be used like earlier comment
docker rm $(docker ps -a --filter name=$1 --format="{{.ID}}")
@Aviksaikat
Copy link
Author

making public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment