16 lines
		
	
	
		
			393 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			393 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
###################################
 | 
						|
############ by Sthope ############
 | 
						|
###################################
 | 
						|
 | 
						|
## nano ~/.bashrc
 | 
						|
## and add this to the end of the file: export PATH=$PATH:~/bin
 | 
						|
## sudo chmod +x ~/bin/*;su -l $USER
 | 
						|
 | 
						|
#### USAGE
 | 
						|
# Type "dockerrm Container_Name" to Stop and Remove running Docker Container
 | 
						|
# example: dockerrm Container_Name
 | 
						|
 | 
						|
docker stop $1
 | 
						|
docker rm $1
 |