Last active
March 7, 2023 12:57
-
-
Save Aviksaikat/f93cef55902a021260ab0347de1801cd to your computer and use it in GitHub Desktop.
Remove docker container by name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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}}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
making public