moby--moby/integration-cli
Richard Scothern 39f2f15a35 Prevent push and pull to v1 registries by filtering the available endpoints.
Add a daemon flag to control this behaviour.  Add a warning message when pulling
an image from a v1 registry.  The default order of pull is slightly altered
with this changset.

Previously it was:
https v2, https v1, http v2, http v1

now it is:
https v2, http v2, https v1, http v1

Prevent login to v1 registries by explicitly setting the version before ping to
prevent fallback to v1.

Add unit tests for v2 only mode.  Create a mock server that can register
handlers for various endpoints.  Assert no v1 endpoints are hit with legacy
registries disabled for the following commands:  pull, push, build, run and
login.  Assert the opposite when legacy registries are not disabled.

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-09-25 15:59:42 -07:00
..
fixtures Add integration cli trust tests 2015-07-24 14:08:20 -07:00
check_test.go Prevent push and pull to v1 registries by filtering the available endpoints. 2015-09-25 15:59:42 -07:00
docker_api_attach_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_build_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_containers_test.go Fixes 16556 CI failures 2015-09-24 11:19:00 -07:00
docker_api_create_test.go Minor fix: remove redundant tag name in error message of create failed. 2015-08-30 10:43:33 +08:00
docker_api_events_test.go Send resp immediately on GET /events 2015-07-02 11:45:24 -04:00
docker_api_exec_resize_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_exec_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_images_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_info_test.go add docker server version to /info 2015-09-21 21:15:32 +08:00
docker_api_inspect_test.go Added tags list to /images/:id/json api. 2015-09-10 11:55:01 +03:00
docker_api_logs_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_network_test.go register libnetwork API and UI with docker parent chain 2015-06-18 12:07:58 -07:00
docker_api_resize_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_service_test.go attaching services api and UI chain to docker parent 2015-06-19 09:19:09 -07:00
docker_api_stats_test.go integration-cli: add cli/api stats tests when container not found 2015-09-17 18:20:25 +02:00
docker_api_test.go Ensure body is closed after error is checked 2015-07-23 14:34:38 +02:00
docker_api_version_test.go
docker_api_volumes_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_attach_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_attach_unix_test.go Remove/Comment time.Sleep in integration tests 2015-08-18 20:36:08 +02:00
docker_cli_build_test.go Windows: Nice error on ARG (builder) 2015-09-21 14:54:15 -07:00
docker_cli_build_unix_test.go Add ulimit to docker build. 2015-07-23 10:26:06 +08:00
docker_cli_by_digest_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_commit_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_config_test.go Add missing defer to delete temp dir 2015-09-01 07:19:38 -07:00
docker_cli_cp_from_container_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_cp_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_cp_to_container_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_cp_utils.go Fix `docker cp` Behavior With Symlinks 2015-07-30 12:14:28 -07:00
docker_cli_create_test.go Add `STOPSIGNAL` instruction to dockerfiles. 2015-09-10 19:56:05 -04:00
docker_cli_daemon_experimental_test.go Windows: Workaround for CI 2015-08-05 11:20:30 -07:00
docker_cli_daemon_test.go Merge pull request #15862 from calavera/share_shm_and_mqueue 2015-09-24 11:23:59 -07:00
docker_cli_diff_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_events_test.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
docker_cli_events_unix_test.go Events for OOM needs to be shift to an earlier time 2015-09-21 10:18:08 +08:00
docker_cli_exec_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_exec_unix_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_experimental_test.go dockerCmd when possible 2015-07-20 14:55:40 +08:00
docker_cli_export_import_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_help_test.go Merge pull request #14626 from kunalkushwaha/add-network-cli-help 2015-09-09 13:36:43 -07:00
docker_cli_history_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_images_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_import_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_info_test.go dockerCmd when possible 2015-07-20 14:55:40 +08:00
docker_cli_inspect_experimental_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_inspect_test.go test neat 2015-09-24 10:55:47 +08:00
docker_cli_kill_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_links_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_links_unix_test.go Moved unix links tests to non-platform 2015-09-01 09:10:24 -07:00
docker_cli_login_test.go
docker_cli_logs_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_nat_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_netmode_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_network_test.go Recfactor: Use dockerCmd when possible in integration-cli tests 2015-07-20 14:44:22 +08:00
docker_cli_pause_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_port_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_proxy_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_ps_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_pull_local_test.go Fix race condition when waiting for a concurrent layer pull 2015-09-11 10:52:34 -07:00
docker_cli_pull_test.go Add unit tests for integration cli utils function 2015-09-09 15:36:44 +02:00
docker_cli_pull_trusted_test.go Ignore ping errors in notary repository setup 2015-09-14 11:08:25 -07:00
docker_cli_push_test.go Ignore ping errors in notary repository setup 2015-09-14 11:08:25 -07:00
docker_cli_rename_test.go Fix 'rename' error msg and error checking 2015-09-18 11:12:22 -07:00
docker_cli_restart_test.go Windows: First part of CI tests (docker run) 2015-09-22 10:24:03 -07:00
docker_cli_rm_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_rmi_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_run_test.go Merge pull request #16559 from Microsoft/10662-fix16556 2015-09-24 12:31:36 -07:00
docker_cli_run_unix_test.go Merge pull request #14579 from hqhq/hq_add_softlimit 2015-09-24 12:11:36 -07:00
docker_cli_save_load_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_save_load_unix_test.go CI: use dockerCmd in integration-cli when possible 2015-07-22 17:55:41 +08:00
docker_cli_search_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_service_test.go CI: use dockerCmd in integration-cli when possible 2015-07-22 17:55:41 +08:00
docker_cli_start_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_start_volume_driver_unix_test.go Merge pull request #15798 from calavera/volume_driver_host_config 2015-09-08 22:05:40 -04:00
docker_cli_stats_test.go integration-cli: add cli/api stats tests when container not found 2015-09-17 18:20:25 +02:00
docker_cli_tag_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_top_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_v2_only.go Prevent push and pull to v1 registries by filtering the available endpoints. 2015-09-25 15:59:42 -07:00
docker_cli_version_test.go Test infrastructure for cross platform 2015-08-31 09:10:18 -07:00
docker_cli_volume_test.go Add unit tests for integration cli utils function 2015-09-09 15:36:44 +02:00
docker_cli_wait_test.go Windows: First part of CI tests (docker run) 2015-09-22 10:24:03 -07:00
docker_hub_pull_suite_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_test_vars.go Windows: First part of CI tests (docker run) 2015-09-22 10:24:03 -07:00
docker_utils.go Windows: First part of CI tests (docker run) 2015-09-22 10:24:03 -07:00
registry.go [graph] Enforce manifest/layer digest verification 2015-08-03 11:41:23 -07:00
registry_mock.go Prevent push and pull to v1 registries by filtering the available endpoints. 2015-09-25 15:59:42 -07:00
requirements.go adding a Dockerfile.gccgo to use gccgo compiler instead of go compiler. 2015-09-16 18:56:01 +00:00
requirements_unix.go Add support for memory reservation 2015-09-23 14:02:45 +08:00
test_vars_exec.go
test_vars_noexec.go
test_vars_unix.go
test_vars_windows.go
trust_server.go Updated to use latest version of notary 2015-07-31 17:32:35 -07:00
utils.go Fixes 16556 CI failures 2015-09-24 11:19:00 -07:00