Class CommandUtils


  • public class CommandUtils
    extends Object
    Util class to for docker commands.
    Author:
    wzheng2310@gmail.com (Wei Zheng)
    • Constructor Detail

      • CommandUtils

        public CommandUtils()
    • Method Detail

      • logCommandResultStream

        public static void logCommandResultStream​(InputStream inputStream,
                                                  ConsoleLogger console,
                                                  String errMessage)
        Log a streamed response that is not wrapped in JSON
      • addLatestTagIfNeeded

        public static String addLatestTagIfNeeded​(String fullImageName)
      • sizeInBytes

        public static long sizeInBytes​(String size)