remove trailing bash in docker cmd