forked from tern-tools/tern
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Nisha K
committed
Sep 10, 2018
1 parent
913cbb9
commit 14e3064
Showing
1 changed file
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters