Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Used subprocess check_output for docker save
The docker save command is what creates the tar of the container image. For larger images the pipe buffer is too small. So using subprocess.check_output to get the result of docker save. - Moved logic to check for sudo use in is_sudo function - Added function docker_command_check for use of subprocess.check_output to fork processes - Used docker_command_check in the extract_image_metadata function Resolves tern-tools#69 Signed-off-by: Nisha K <[email protected]>
- Loading branch information