Commit 4b091744 authored by Victor Nikulshin's avatar Victor Nikulshin

Add --no-trunc option to 'docker ps' call

Prevent docker command from adding unicode characters to its output that will
ascii string parsing inside of Fabrick command.
parent bbe7b6a5
Pipeline #11222 passed with stages
in 1 minute and 20 seconds
......@@ -16,7 +16,7 @@ import helpers as h
def docker_ps(running_only=False):
args = '' if running_only else '-a'
result = local('docker ps %s' % args, capture=True)
result = local('docker ps --no-trunc %s' % args, capture=True)
lines = result.stdout.splitlines()
# container name is supposed to be the last column
assert lines[0].strip().endswith('NAMES')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment