bigrig 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +24 -26
- data/bigrig.gemspec +2 -2
- data/lib/bigrig/models/container.rb +2 -2
- data/lib/bigrig/runner.rb +2 -10
- data/lib/bigrig/version.rb +1 -1
- data/lib/bigrig/waiter.rb +20 -0
- data/lib/bigrig.rb +1 -0
- data/spec/bigrig/actions/run_action_spec.rb +8 -0
- data/spec/bigrig/docker_adapter_spec.rb +1 -1
- data/spec/bigrig/models/container_spec.rb +0 -18
- data/spec/bigrig_spec.rb +20 -6
- data/spec/data/wait_for/Dockerfile +4 -0
- data/spec/data/wait_for/bigrig-wait.sh +5 -0
- data/spec/data/wait_for/bigrig.json +8 -0
- data/spec/data/wait_for_broken/Dockerfile +4 -0
- data/spec/data/wait_for_broken/bigrig-wait.sh +3 -0
- data/spec/data/wait_for_broken/bigrig.json +8 -0
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_has_exited/should_remove_the_container.yml +65 -65
- data/spec/vcr/Bigrig_DestroyAction/_perform/given_json_with_a_single_container/and_the_container_is_running/kills_and_removes_the_container.yml +71 -71
- data/spec/vcr/Bigrig_DockerAdapter/_build/builds_the_given_directory.yml +11 -11
- data/spec/vcr/Bigrig_DockerAdapter/_build/passes_build_input_to_a_block.yml +5 -5
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_does_not_exist/is_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_container_exists_/when_the_container_exists/is_true.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_does_not_exist/raise_a_ImageNotFoundError.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_image_id_by_tag/when_the_image_exists/returns_the_image_id.yml +19 -19
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_does_not_exist/should_raise_an_error.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_kill/given_the_container_is_running/should_kill_the_container.yml +29 -29
- data/spec/vcr/Bigrig_DockerAdapter/_logs/streams_logs_to_a_block.yml +23 -23
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_a_block_to_capture_output/should_capture_output.yml +8 -8
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_does_not_exist/raises_a_RepoNotFoundError.yml +3 -3
- data/spec/vcr/Bigrig_DockerAdapter/_pull/given_the_repo_exists/returns_the_image_id.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_push/given_credentials/will_pass_login_and_password.yml +54 -54
- data/spec/vcr/Bigrig_DockerAdapter/_push/should_push_the_image.yml +1059 -553
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_does_not_exist/raises_a_ContainerNotFoundError.yml +40 -40
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_exists/should_remove_the_container.yml +44 -44
- data/spec/vcr/Bigrig_DockerAdapter/_remove_container/when_the_container_is_running/raises_a_ContainerRunningError.yml +13 -13
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_doesnt_exist/raises_an_error.yml +12 -12
- data/spec/vcr/Bigrig_DockerAdapter/_remove_image/when_the_image_exists/removes_the_image.yml +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name/starts_the_container_with_the_right_name.yml +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_env_variables/starts_the_container_with_env_set.yml +35 -35
- data/spec/vcr/Bigrig_DockerAdapter/_run/given_an_image_id_that_exists/and_a_name_and_ports/starts_the_container_with_ports_exposed.yml +41 -41
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml +20 -20
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml +13 -15
- data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_running/returns_true.yml +17 -17
- data/spec/vcr/Bigrig_DockerAdapter/_tag/should_tag_the_image.yml +34 -34
- data/spec/vcr/Bigrig_LogAction/_perform/follows_the_log.yml +43 -43
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_a_path/builds_the_image_before_starting_it.yml +222 -26
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_ip/should_pass_hosts_to_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_hosts_by_name/should_lookup_ips_for_hosts_with_a_hostname.yml +181 -75
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_links/should_pass_links_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/launches_both_containers_in_parallel.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_multiple_containers/spins_up_multiple_containers.yml +140 -140
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/should_spin_up_a_single_container.yml +175 -69
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_one_container/when_a_dead_container_exists/should_remove_existing_containers.yml +159 -53
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes/should_pass_volumes_to_the_right_container.yml +180 -74
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/should_pass_volumes_from_to_the_right_container.yml +351 -139
- data/spec/vcr/Bigrig_RunAction/_perform/given_a_file_with_volumes_from/starts_the_dependant_container_last.yml +130 -130
- data/spec/vcr/Bigrig_RunAction/_perform/when_activating_profiles_that_do_not_exist/ignores_the_missing_profile.yml +268 -77
- data/spec/vcr/Bigrig_RunAction/_perform/with_a_file_with_active_profiles/uses_the_overridden_image.yml +180 -74
- data/spec/vcr/bigrig/destroy/spec/data/single_json/kills_the_container.yml +28 -28
- data/spec/vcr/bigrig/dev/spec/data/dev_json/activates_the_dev_profile.yml +266 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/destroys_containers_on_exit.yml +78 -158
- data/spec/vcr/bigrig/dev/spec/data/dev_json/starts_the_containers.yml +187 -191
- data/spec/vcr/bigrig/dev/spec/data/dev_json/tails_the_logs.yml +38 -118
- data/spec/vcr/bigrig/dev/spec/data/scan_json/leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +811 -345
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_dependant_containers_when_the_scanned_file_changes.yml +813 -375
- data/spec/vcr/bigrig/dev/spec/data/scan_json/restarts_the_container_when_the_scanned_file_changes.yml +855 -363
- data/spec/vcr/bigrig/logs/spec/data/log_json/tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/leaves_existing_env_values_alone.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_env.yml +14 -14
- data/spec/vcr/bigrig/run/spec/data/profiles_json_-p_qa/overrides_the_tag.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/single_json/sends_the_name_of_the_container_to_stdout.yml +12 -12
- data/spec/vcr/bigrig/run/spec/data/single_json/starts_the_container.yml +17 -17
- data/spec/vcr/bigrig/run/spec/data/wait_for/bigrig_json/waits_for_wait_for.yml +180 -0
- data/spec/vcr/bigrig/run/spec/data/wait_for_broken_json/fails_with_an_error.yml +12 -12
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/-c/cleans_the_image_when_its_done.yml +28 -28
- data/spec/vcr/bigrig/ship/spec/data/ship_json/with_a_version/builds_and_pushes_the_image.yml +21 -21
- data/spec/vcr/bigrig_bin_bigrig_destroy_spec/data/single_json_kills_the_container.yml +28 -28
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_activates_the_dev_profile.yml +135 -486
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_starts_the_containers.yml +146 -472
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/dev_json_tails_the_logs.yml +402 -192
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_leaves_unaffected_containers_alone_when_the_scanned_file_changes.yml +980 -396
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_dependant_containers_when_the_scanned_file_changes.yml +916 -388
- data/spec/vcr/bigrig_bin_bigrig_dev_spec/data/scan_json_restarts_the_container_when_the_scanned_file_changes.yml +919 -391
- data/spec/vcr/bigrig_bin_bigrig_logs_spec/data/log_json_tails_the_logs.yml +23 -23
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_leaves_existing_env_values_alone.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_env.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/profiles_json_-p_qa_overrides_the_tag.yml +286 -31
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_sends_the_name_of_the_container_to_stdout.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/single_json_starts_the_container.yml +159 -53
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for/bigrig_json_waits_for_wait_for.yml +522 -0
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_broken_json_fails_with_an_error.yml +175 -80
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_-c_cleans_the_image_when_its_done.yml +1036 -526
- data/spec/vcr/bigrig_bin_bigrig_ship_spec/data/ship_json_with_a_version_builds_and_pushes_the_image.yml +1024 -514
- metadata +17 -12
- data/spec/data/wait_for.json +0 -9
- data/spec/data/wait_for_broken.json +0 -9
- data/spec/vcr/bigrig/run/spec/data/wait_for_json/waits_for_wait_for.yml +0 -180
- data/spec/vcr/bigrig_bin_bigrig_run_spec/data/wait_for_json_waits_for_wait_for.yml +0 -412
data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_does_not_exist/returns_false.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,15 +19,15 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/plain; charset=utf-8
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
23
23
|
Content-Length:
|
24
|
-
- '
|
24
|
+
- '25'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
|
28
|
+
no such id: doesnotexist
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
39
|
+
- Swipely/Docker-API 1.21.4
|
40
40
|
Content-Type:
|
41
41
|
- text/plain
|
42
42
|
response:
|
@@ -47,15 +47,15 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- text/plain; charset=utf-8
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
51
51
|
Content-Length:
|
52
|
-
- '
|
52
|
+
- '25'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |
|
56
|
-
|
56
|
+
no such id: doesnotexist
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
61
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -64,7 +64,7 @@ http_interactions:
|
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
User-Agent:
|
67
|
-
- Swipely/Docker-API 1.
|
67
|
+
- Swipely/Docker-API 1.21.4
|
68
68
|
Content-Type:
|
69
69
|
- text/plain
|
70
70
|
response:
|
@@ -75,15 +75,15 @@ http_interactions:
|
|
75
75
|
Content-Type:
|
76
76
|
- text/plain; charset=utf-8
|
77
77
|
Date:
|
78
|
-
-
|
78
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
79
79
|
Content-Length:
|
80
|
-
- '
|
80
|
+
- '25'
|
81
81
|
body:
|
82
82
|
encoding: UTF-8
|
83
83
|
string: |
|
84
|
-
|
84
|
+
no such id: doesnotexist
|
85
85
|
http_version:
|
86
|
-
recorded_at:
|
86
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
87
87
|
- request:
|
88
88
|
method: get
|
89
89
|
uri: "<DOCKER_HOST>/v1.16/containers/doesnotexist/json"
|
@@ -92,7 +92,7 @@ http_interactions:
|
|
92
92
|
string: ''
|
93
93
|
headers:
|
94
94
|
User-Agent:
|
95
|
-
- Swipely/Docker-API 1.
|
95
|
+
- Swipely/Docker-API 1.21.4
|
96
96
|
Content-Type:
|
97
97
|
- text/plain
|
98
98
|
response:
|
@@ -103,13 +103,13 @@ http_interactions:
|
|
103
103
|
Content-Type:
|
104
104
|
- text/plain; charset=utf-8
|
105
105
|
Date:
|
106
|
-
-
|
106
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
107
107
|
Content-Length:
|
108
|
-
- '
|
108
|
+
- '25'
|
109
109
|
body:
|
110
110
|
encoding: UTF-8
|
111
111
|
string: |
|
112
|
-
|
112
|
+
no such id: doesnotexist
|
113
113
|
http_version:
|
114
|
-
recorded_at:
|
114
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
115
115
|
recorded_with: VCR 2.9.3
|
data/spec/vcr/Bigrig_DockerAdapter/_running_/when_the_container_is_not_running/returns_false.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: '{"Image":"hawknewton/show-env"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,24 +19,24 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"414adc52c54451f631f811e5040d96a182d9b564dfe25e294544d748b54ce727","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/414adc52c54451f631f811e5040d96a182d9b564dfe25e294544d748b54ce727/json"
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
39
|
+
- Swipely/Docker-API 1.21.4
|
40
40
|
Content-Type:
|
41
41
|
- text/plain
|
42
42
|
response:
|
@@ -47,24 +47,22 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
Date:
|
50
|
-
-
|
51
|
-
Content-Length:
|
52
|
-
- '1941'
|
50
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
53
51
|
body:
|
54
52
|
encoding: UTF-8
|
55
53
|
string: |
|
56
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
54
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"414adc52c544","Image":"hawknewton/show-env","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:26:29.329236983Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"","HostsPath":"","Id":"414adc52c54451f631f811e5040d96a182d9b564dfe25e294544d748b54ce727","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"","MountLabel":"","Name":"/lonely_yalow","NetworkSettings":{"Bridge":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"MacAddress":"","PortMapping":null,"Ports":null},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":0,"Restarting":false,"Running":false,"StartedAt":"0001-01-01T00:00:00Z"},"Volumes":{},"VolumesRW":{}}
|
57
55
|
http_version:
|
58
|
-
recorded_at:
|
56
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
59
57
|
- request:
|
60
58
|
method: delete
|
61
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
59
|
+
uri: "<DOCKER_HOST>/v1.16/containers/414adc52c54451f631f811e5040d96a182d9b564dfe25e294544d748b54ce727?force=true"
|
62
60
|
body:
|
63
61
|
encoding: US-ASCII
|
64
62
|
string: ''
|
65
63
|
headers:
|
66
64
|
User-Agent:
|
67
|
-
- Swipely/Docker-API 1.
|
65
|
+
- Swipely/Docker-API 1.21.4
|
68
66
|
Content-Type:
|
69
67
|
- text/plain
|
70
68
|
response:
|
@@ -73,10 +71,10 @@ http_interactions:
|
|
73
71
|
message:
|
74
72
|
headers:
|
75
73
|
Date:
|
76
|
-
-
|
74
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
77
75
|
body:
|
78
76
|
encoding: UTF-8
|
79
77
|
string: ''
|
80
78
|
http_version:
|
81
|
-
recorded_at:
|
79
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
82
80
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: '{"Image":"hawknewton/show-env"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -19,24 +19,24 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:26:28 GMT
|
23
23
|
Content-Length:
|
24
24
|
- '90'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Id":"
|
28
|
+
{"Id":"7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340","Warnings":null}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Fri, 05 Jun 2015 23:26:28 GMT
|
31
31
|
- request:
|
32
32
|
method: post
|
33
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
33
|
+
uri: "<DOCKER_HOST>/v1.16/containers/7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340/start"
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
36
|
string: "{}"
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
39
|
+
- Swipely/Docker-API 1.21.4
|
40
40
|
Content-Type:
|
41
41
|
- application/json
|
42
42
|
response:
|
@@ -45,21 +45,21 @@ http_interactions:
|
|
45
45
|
message:
|
46
46
|
headers:
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Fri, 05 Jun 2015 23:26:28 GMT
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: ''
|
52
52
|
http_version:
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
54
54
|
- request:
|
55
55
|
method: get
|
56
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
56
|
+
uri: "<DOCKER_HOST>/v1.16/containers/7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340/json"
|
57
57
|
body:
|
58
58
|
encoding: US-ASCII
|
59
59
|
string: ''
|
60
60
|
headers:
|
61
61
|
User-Agent:
|
62
|
-
- Swipely/Docker-API 1.
|
62
|
+
- Swipely/Docker-API 1.21.4
|
63
63
|
Content-Type:
|
64
64
|
- text/plain
|
65
65
|
response:
|
@@ -70,22 +70,22 @@ http_interactions:
|
|
70
70
|
Content-Type:
|
71
71
|
- application/json
|
72
72
|
Date:
|
73
|
-
-
|
73
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
74
74
|
body:
|
75
75
|
encoding: UTF-8
|
76
76
|
string: |
|
77
|
-
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"
|
77
|
+
{"AppArmorProfile":"","Args":["-c","ruby /code/server.rb"],"Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":["/bin/sh","-c","ruby /code/server.rb"],"Env":["PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","RUBY_MAJOR=2.1","RUBY_VERSION=2.1.3","GEM_HOME=/usr/local/bundle","BUNDLE_APP_CONFIG=/usr/local/bundle"],"ExposedPorts":{"80/tcp":{}},"Hostname":"7b320857de42","Image":"hawknewton/show-env","Labels":{},"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":null,"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-06-05T23:26:28.414455634Z","Driver":"aufs","ExecDriver":"native-0.2","ExecIDs":null,"HostConfig":{"Binds":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ContainerIDFile":"","CpuShares":0,"CpusetCpus":"","Devices":null,"Dns":null,"DnsSearch":null,"ExtraHosts":null,"IpcMode":"","Links":null,"LogConfig":{"Config":null,"Type":"json-file"},"LxcConf":null,"Memory":0,"MemorySwap":0,"NetworkMode":"","PidMode":"","PortBindings":null,"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":""},"SecurityOpt":null,"Ulimits":null,"VolumesFrom":null},"HostnamePath":"/mnt/sda1/var/lib/docker/containers/7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340/hostname","HostsPath":"/mnt/sda1/var/lib/docker/containers/7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340/hosts","Id":"7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340","Image":"b9c5be3a918d80b0d898ed8eca3fc76f75c482b531238e539cb00f75bb4e12d2","LogPath":"/mnt/sda1/var/lib/docker/containers/7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340/7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340-json.log","MountLabel":"","Name":"/lonely_albattani","NetworkSettings":{"Bridge":"docker0","Gateway":"172.17.42.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"172.17.1.81","IPPrefixLen":16,"IPv6Gateway":"","LinkLocalIPv6Address":"fe80::42:acff:fe11:151","LinkLocalIPv6PrefixLen":64,"MacAddress":"02:42:ac:11:01:51","PortMapping":null,"Ports":{"80/tcp":null}},"Path":"/bin/sh","ProcessLabel":"","ResolvConfPath":"/mnt/sda1/var/lib/docker/containers/7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340/resolv.conf","RestartCount":0,"State":{"Dead":false,"Error":"","ExitCode":0,"FinishedAt":"0001-01-01T00:00:00Z","OOMKilled":false,"Paused":false,"Pid":23694,"Restarting":false,"Running":true,"StartedAt":"2015-06-05T23:26:28.995197566Z"},"Volumes":{},"VolumesRW":{}}
|
78
78
|
http_version:
|
79
|
-
recorded_at:
|
79
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
80
80
|
- request:
|
81
81
|
method: delete
|
82
|
-
uri: "<DOCKER_HOST>/v1.16/containers/
|
82
|
+
uri: "<DOCKER_HOST>/v1.16/containers/7b320857de42b3fc2e6e0347d19d801d44f8e0e9a5d32cb3069cd89ef1599340?force=true"
|
83
83
|
body:
|
84
84
|
encoding: US-ASCII
|
85
85
|
string: ''
|
86
86
|
headers:
|
87
87
|
User-Agent:
|
88
|
-
- Swipely/Docker-API 1.
|
88
|
+
- Swipely/Docker-API 1.21.4
|
89
89
|
Content-Type:
|
90
90
|
- text/plain
|
91
91
|
response:
|
@@ -94,10 +94,10 @@ http_interactions:
|
|
94
94
|
message:
|
95
95
|
headers:
|
96
96
|
Date:
|
97
|
-
-
|
97
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
98
98
|
body:
|
99
99
|
encoding: UTF-8
|
100
100
|
string: ''
|
101
101
|
http_version:
|
102
|
-
recorded_at:
|
102
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
103
103
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Swipely/Docker-API 1.
|
11
|
+
- Swipely/Docker-API 1.21.4
|
12
12
|
Content-Type:
|
13
13
|
- text/plain
|
14
14
|
response:
|
@@ -19,15 +19,15 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/json
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
23
23
|
Content-Length:
|
24
|
-
- '
|
24
|
+
- '1507'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
28
|
+
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
31
31
|
- request:
|
32
32
|
method: delete
|
33
33
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb?force=true"
|
@@ -36,7 +36,7 @@ http_interactions:
|
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
User-Agent:
|
39
|
-
- Swipely/Docker-API 1.
|
39
|
+
- Swipely/Docker-API 1.21.4
|
40
40
|
Content-Type:
|
41
41
|
- text/plain
|
42
42
|
response:
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- application/json
|
49
49
|
Date:
|
50
|
-
-
|
50
|
+
- Fri, 05 Jun 2015 23:26:29 GMT
|
51
51
|
Content-Length:
|
52
52
|
- '120'
|
53
53
|
body:
|
@@ -58,7 +58,7 @@ http_interactions:
|
|
58
58
|
,{"Untagged":"hawknewton/true:not_exist"}
|
59
59
|
]
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Fri, 05 Jun 2015 23:26:29 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
64
|
uri: "<DOCKER_HOST>/v1.16/images/create?fromImage=hawknewton%2Ftrue"
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
User-Agent:
|
70
|
-
- Swipely/Docker-API 1.
|
70
|
+
- Swipely/Docker-API 1.21.4
|
71
71
|
Content-Type:
|
72
72
|
- text/plain
|
73
73
|
response:
|
@@ -78,12 +78,12 @@ http_interactions:
|
|
78
78
|
Content-Type:
|
79
79
|
- application/json
|
80
80
|
Date:
|
81
|
-
-
|
81
|
+
- Fri, 05 Jun 2015 23:26:32 GMT
|
82
82
|
body:
|
83
83
|
encoding: UTF-8
|
84
84
|
string: "{\"status\":\"Pulling repository hawknewton/true\"}\r\n{\"status\":\"Pulling
|
85
|
-
image (
|
86
|
-
image (
|
85
|
+
image (latest) from hawknewton/true\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Pulling
|
86
|
+
image (latest) from hawknewton/true, endpoint: https://registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Pulling
|
87
87
|
dependent layers\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Download
|
88
88
|
complete\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Download
|
89
89
|
complete\",\"progressDetail\":{},\"id\":\"c0d559283422\"}{\"status\":\"Download
|
@@ -91,7 +91,7 @@ http_interactions:
|
|
91
91
|
complete\",\"progressDetail\":{},\"id\":\"5fbce35eb337\"}{\"status\":\"Status:
|
92
92
|
Image is up to date for hawknewton/true\"}\r\n"
|
93
93
|
http_version:
|
94
|
-
recorded_at:
|
94
|
+
recorded_at: Fri, 05 Jun 2015 23:26:34 GMT
|
95
95
|
- request:
|
96
96
|
method: get
|
97
97
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb337/json"
|
@@ -100,7 +100,7 @@ http_interactions:
|
|
100
100
|
string: ''
|
101
101
|
headers:
|
102
102
|
User-Agent:
|
103
|
-
- Swipely/Docker-API 1.
|
103
|
+
- Swipely/Docker-API 1.21.4
|
104
104
|
Content-Type:
|
105
105
|
- text/plain
|
106
106
|
response:
|
@@ -111,15 +111,15 @@ http_interactions:
|
|
111
111
|
Content-Type:
|
112
112
|
- application/json
|
113
113
|
Date:
|
114
|
-
-
|
114
|
+
- Fri, 05 Jun 2015 23:26:34 GMT
|
115
115
|
Content-Length:
|
116
|
-
- '
|
116
|
+
- '1507'
|
117
117
|
body:
|
118
118
|
encoding: UTF-8
|
119
119
|
string: |
|
120
|
-
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
120
|
+
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
121
121
|
http_version:
|
122
|
-
recorded_at:
|
122
|
+
recorded_at: Fri, 05 Jun 2015 23:26:34 GMT
|
123
123
|
- request:
|
124
124
|
method: post
|
125
125
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb/tag?force=true&repo=test%2Ftag&tag=1.2.3"
|
@@ -128,7 +128,7 @@ http_interactions:
|
|
128
128
|
string: ''
|
129
129
|
headers:
|
130
130
|
User-Agent:
|
131
|
-
- Swipely/Docker-API 1.
|
131
|
+
- Swipely/Docker-API 1.21.4
|
132
132
|
Content-Type:
|
133
133
|
- text/plain
|
134
134
|
response:
|
@@ -137,7 +137,7 @@ http_interactions:
|
|
137
137
|
message:
|
138
138
|
headers:
|
139
139
|
Date:
|
140
|
-
-
|
140
|
+
- Fri, 05 Jun 2015 23:26:34 GMT
|
141
141
|
Content-Length:
|
142
142
|
- '0'
|
143
143
|
Content-Type:
|
@@ -146,7 +146,7 @@ http_interactions:
|
|
146
146
|
encoding: UTF-8
|
147
147
|
string: ''
|
148
148
|
http_version:
|
149
|
-
recorded_at:
|
149
|
+
recorded_at: Fri, 05 Jun 2015 23:26:34 GMT
|
150
150
|
- request:
|
151
151
|
method: get
|
152
152
|
uri: "<DOCKER_HOST>/v1.16/images/test/tag:1.2.3/json"
|
@@ -155,7 +155,7 @@ http_interactions:
|
|
155
155
|
string: ''
|
156
156
|
headers:
|
157
157
|
User-Agent:
|
158
|
-
- Swipely/Docker-API 1.
|
158
|
+
- Swipely/Docker-API 1.21.4
|
159
159
|
Content-Type:
|
160
160
|
- text/plain
|
161
161
|
response:
|
@@ -166,15 +166,15 @@ http_interactions:
|
|
166
166
|
Content-Type:
|
167
167
|
- application/json
|
168
168
|
Date:
|
169
|
-
-
|
169
|
+
- Fri, 05 Jun 2015 23:26:34 GMT
|
170
170
|
Content-Length:
|
171
|
-
- '
|
171
|
+
- '1507'
|
172
172
|
body:
|
173
173
|
encoding: UTF-8
|
174
174
|
string: |
|
175
|
-
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
175
|
+
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
176
176
|
http_version:
|
177
|
-
recorded_at:
|
177
|
+
recorded_at: Fri, 05 Jun 2015 23:26:34 GMT
|
178
178
|
- request:
|
179
179
|
method: get
|
180
180
|
uri: "<DOCKER_HOST>/v1.16/images/test/tag:1.2.3/json"
|
@@ -183,7 +183,7 @@ http_interactions:
|
|
183
183
|
string: ''
|
184
184
|
headers:
|
185
185
|
User-Agent:
|
186
|
-
- Swipely/Docker-API 1.
|
186
|
+
- Swipely/Docker-API 1.21.4
|
187
187
|
Content-Type:
|
188
188
|
- text/plain
|
189
189
|
response:
|
@@ -194,15 +194,15 @@ http_interactions:
|
|
194
194
|
Content-Type:
|
195
195
|
- application/json
|
196
196
|
Date:
|
197
|
-
-
|
197
|
+
- Fri, 05 Jun 2015 23:26:34 GMT
|
198
198
|
Content-Length:
|
199
|
-
- '
|
199
|
+
- '1507'
|
200
200
|
body:
|
201
201
|
encoding: UTF-8
|
202
202
|
string: |
|
203
|
-
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
203
|
+
{"Architecture":"amd64","Author":"","Comment":"","Config":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/true"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Container":"cb0575974a6a573010bf8f4fa1ca6ce5ac4760b880c30db72ffe47a4c62849c0","ContainerConfig":{"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":["/bin/sh","-c","#(nop) CMD [/true]"],"CpuShares":0,"Cpuset":"","Domainname":"","Entrypoint":[],"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],"ExposedPorts":null,"Hostname":"5a0d2e5f7af6","Image":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Labels":null,"MacAddress":"","Memory":0,"MemorySwap":0,"NetworkDisabled":false,"OnBuild":[],"OpenStdin":false,"PortSpecs":null,"StdinOnce":false,"Tty":false,"User":"","Volumes":null,"WorkingDir":""},"Created":"2015-01-10T13:42:58.118276832Z","DockerVersion":"1.3.0","Id":"5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb","Os":"linux","Parent":"c0d55928342254f4d19858c0b9ef3991e22ee7d5c2e8f4a0239a398e4b4e657f","Size":0,"VirtualSize":125}
|
204
204
|
http_version:
|
205
|
-
recorded_at:
|
205
|
+
recorded_at: Fri, 05 Jun 2015 23:26:34 GMT
|
206
206
|
- request:
|
207
207
|
method: delete
|
208
208
|
uri: "<DOCKER_HOST>/v1.16/images/5fbce35eb33780adf252ee2f87b7156660fdb5c7ca54a0fb4e262a87447cceeb?force=true"
|
@@ -211,7 +211,7 @@ http_interactions:
|
|
211
211
|
string: ''
|
212
212
|
headers:
|
213
213
|
User-Agent:
|
214
|
-
- Swipely/Docker-API 1.
|
214
|
+
- Swipely/Docker-API 1.21.4
|
215
215
|
Content-Type:
|
216
216
|
- text/plain
|
217
217
|
response:
|
@@ -222,7 +222,7 @@ http_interactions:
|
|
222
222
|
Content-Type:
|
223
223
|
- application/json
|
224
224
|
Date:
|
225
|
-
-
|
225
|
+
- Fri, 05 Jun 2015 23:26:34 GMT
|
226
226
|
Content-Length:
|
227
227
|
- '120'
|
228
228
|
body:
|
@@ -233,5 +233,5 @@ http_interactions:
|
|
233
233
|
,{"Untagged":"hawknewton/true:not_exist"}
|
234
234
|
]
|
235
235
|
http_version:
|
236
|
-
recorded_at:
|
236
|
+
recorded_at: Fri, 05 Jun 2015 23:26:34 GMT
|
237
237
|
recorded_with: VCR 2.9.3
|