xargs when piping
This commit is contained in:
@@ -87,7 +87,7 @@ class Mrsk::Commands::App < Mrsk::Commands::Base
|
|||||||
def remove_container(version:)
|
def remove_container(version:)
|
||||||
pipe \
|
pipe \
|
||||||
container_id_for(container_name: service_with_version(version)),
|
container_id_for(container_name: service_with_version(version)),
|
||||||
docker(:container, :rm)
|
[ "xargs", docker(:container, :rm) ].flatten
|
||||||
end
|
end
|
||||||
|
|
||||||
def remove_containers
|
def remove_containers
|
||||||
|
|||||||
Reference in New Issue
Block a user