add stringInArgs and filterSlice for arg handling
remove the container only when -rm is provided