Sha256: 1278f46b132c7897e3175a22aa303ee6629f18b560350e5b5026605de6b81816

Contents?: true

Size: 1.79 KB

Versions: 4

Compression:

Stored size: 1.79 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: "<DOCKER_HOST>/v1.15/images/create?fromImage=scratch"
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Swipely/Docker-API 1.15.0
      Content-Type:
      - text/plain
  response:
    status:
      code: 200
      message: 
    headers:
      Content-Type:
      - application/json
      Date:
      - Mon, 01 Dec 2014 18:08:49 GMT
    body:
      encoding: UTF-8
      string: "{\"status\":\"Pulling repository scratch\"}\r\n{\"status\":\"Pulling
        image (latest) from scratch\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Pulling
        image (latest) from scratch, endpoint: https://registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Pulling
        dependent layers\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Download
        complete\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Download
        complete\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Status:
        Image is up to date for scratch\"}\r\n"
    http_version: 
  recorded_at: Mon, 01 Dec 2014 18:08:50 GMT
- request:
    method: post
    uri: "<DOCKER_HOST>/v1.15/containers/create"
    body:
      encoding: UTF-8
      string: '{"Image":"511136ea3c5a","Cmd":null}'
    headers:
      User-Agent:
      - Swipely/Docker-API 1.15.0
      Content-Type:
      - application/json
  response:
    status:
      code: 500
      message: 
    headers:
      Content-Type:
      - text/plain; charset=utf-8
      Date:
      - Mon, 01 Dec 2014 18:08:51 GMT
      Content-Length:
      - '21'
    body:
      encoding: UTF-8
      string: |
        No command specified
    http_version: 
  recorded_at: Mon, 01 Dec 2014 18:08:50 GMT
recorded_with: VCR 2.9.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
docker-api-1.18.0 spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml
docker-api-1.17.0 spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml
docker-api-1.16.1 spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml
docker-api-1.16.0 spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml