docker/pool/builder/lib/builder.rb
# Run container with Docker image id
# [image_id]
#   Docker image id
Run container with Docker image id
[image_id]
Docker image id
Run container with Docker image id [ image_id ] Docker image id
def run(image_id)
      @logger.info 'Start running container...'
      env = ["POOL_HOSTNAME=#{pool_hostname}"]
      container = Docker.run(image_id, {'Env' => env})
      return container
    end
def run ( image_id ) @logger . info 'Start running container...' env = [ "POOL_HOSTNAME=#{pool_hostname}" ] container = Docker . run ( image_id , { 'Env' => env } ) return container end
Run container with Docker image id
[image_id]
Docker image id
Run container with Docker image id [ image_id ] Docker image id
image_id