├── CHANGELOG.md ├── VERSION ├── components ├── cli │ ├── VERSION │ ├── .dockerignore │ ├── man │ │ ├── src │ │ │ ├── rmi.md │ │ │ ├── tag.md │ │ │ ├── container │ │ │ │ ├── run.md │ │ │ │ ├── restart.md │ │ │ │ ├── start.md │ │ │ │ ├── rename.md │ │ │ │ ├── stop.md │ │ │ │ ├── kill.md │ │ │ │ ├── wait.md │ │ │ │ └── unpause.md │ │ │ ├── cp.md │ │ │ ├── image │ │ │ │ └── build.md │ │ │ ├── images.md │ │ │ ├── info.md │ │ │ ├── load.md │ │ │ ├── ps.md │ │ │ ├── pull.md │ │ │ ├── push.md │ │ │ ├── rm.md │ │ │ ├── save.md │ │ │ ├── top.md │ │ │ ├── commit.md │ │ │ ├── create.md │ │ │ ├── diff.md │ │ │ ├── events.md │ │ │ ├── exec.md │ │ │ ├── export.md │ │ │ ├── history.md │ │ │ ├── import.md │ │ │ ├── kill.md │ │ │ ├── logs.md │ │ │ ├── pause.md │ │ │ ├── port.md │ │ │ ├── rename.md │ │ │ ├── start.md │ │ │ ├── stats.md │ │ │ ├── stop.md │ │ │ ├── update.md │ │ │ ├── wait.md │ │ │ ├── attach.md │ │ │ ├── restart.md │ │ │ ├── unpause.md │ │ │ ├── network │ │ │ │ └── disconnect.md │ │ │ └── volume │ │ │ │ └── inspect.md │ │ └── import.go │ ├── e2e │ │ ├── image │ │ │ └── testdata │ │ │ │ ├── push-with-content-trust-err.golden │ │ │ │ └── pull-with-content-trust-err.golden │ │ ├── stack │ │ │ └── testdata │ │ │ │ ├── data │ │ │ │ ├── stack-remove-kubernetes-success.golden │ │ │ │ ├── stack-remove-swarm-success.golden │ │ │ │ └── full-stack.yml │ │ ├── cli-plugins │ │ │ └── testdata │ │ │ │ ├── docker-help-badmeta-err.golden │ │ │ │ ├── docker-help-nonexistent-err.golden │ │ │ │ ├── docker-badmeta-err.golden │ │ │ │ ├── docker-nonexistent-err.golden │ │ │ │ └── docker-help-helloworld-goodbye.golden │ │ ├── testdata │ │ │ ├── Dockerfile.notary-server │ │ │ └── Dockerfile.evil-notary-server │ │ ├── compose-env.experimental.yaml │ │ ├── context │ │ │ └── testdata │ │ │ │ └── test-dockerconfig │ │ │ │ └── config.json │ │ ├── compose-env.connhelper-ssh.yaml │ │ └── container │ │ │ └── testdata │ │ │ └── run-attached-from-remote-and-remove.golden │ ├── vendor │ │ ├── github.com │ │ │ ├── modern-go │ │ │ │ ├── reflect2 │ │ │ │ │ ├── reflect2_amd64.s │ │ │ │ │ ├── relfect2_386.s │ │ │ │ │ ├── relfect2_arm.s │ │ │ │ │ ├── relfect2_arm64.s │ │ │ │ │ ├── relfect2_mipsx.s │ │ │ │ │ ├── relfect2_s390x.s │ │ │ │ │ ├── relfect2_amd64p32.s │ │ │ │ │ ├── relfect2_mips64x.s │ │ │ │ │ ├── relfect2_ppc64x.s │ │ │ │ │ ├── go_below_17.go │ │ │ │ │ └── go_above_17.go │ │ │ │ └── concurrent │ │ │ │ │ └── go_above_19.go │ │ │ ├── docker │ │ │ │ ├── go-connections │ │ │ │ │ └── sockets │ │ │ │ │ │ └── README.md │ │ │ │ ├── distribution │ │ │ │ │ └── manifest │ │ │ │ │ │ └── doc.go │ │ │ │ ├── compose-on-kubernetes │ │ │ │ │ └── api │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ └── compose │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ └── parsing.go │ │ │ │ │ │ └── impersonation │ │ │ │ │ │ └── doc.go │ │ │ │ ├── docker │ │ │ │ │ ├── pkg │ │ │ │ │ │ ├── archive │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── archive_other.go │ │ │ │ │ │ │ ├── copy_windows.go │ │ │ │ │ │ │ └── copy_unix.go │ │ │ │ │ │ ├── stringid │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ ├── signal │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ ├── mount │ │ │ │ │ │ │ ├── unmount_unsupported.go │ │ │ │ │ │ │ ├── mountinfo_windows.go │ │ │ │ │ │ │ └── mounter_unsupported.go │ │ │ │ │ │ ├── system │ │ │ │ │ │ │ ├── lcow_windows.go │ │ │ │ │ │ │ ├── lcow_unix.go │ │ │ │ │ │ │ └── umask_windows.go │ │ │ │ │ │ └── fileutils │ │ │ │ │ │ │ └── fileutils_windows.go │ │ │ │ │ ├── contrib │ │ │ │ │ │ ├── syscall-test │ │ │ │ │ │ │ ├── exit32.s │ │ │ │ │ │ │ ├── setgid.c │ │ │ │ │ │ │ └── setuid.c │ │ │ │ │ │ ├── nnp-test │ │ │ │ │ │ │ └── nnp-test.c │ │ │ │ │ │ └── README.md │ │ │ │ │ └── api │ │ │ │ │ │ ├── common_unix.go │ │ │ │ │ │ └── types │ │ │ │ │ │ └── swarm │ │ │ │ │ │ └── runtime │ │ │ │ │ │ └── gen.go │ │ │ │ ├── docker-credential-helpers │ │ │ │ │ └── credentials │ │ │ │ │ │ └── version.go │ │ │ │ ├── licensing │ │ │ │ │ └── lib │ │ │ │ │ │ ├── go-validation │ │ │ │ │ │ └── README.md │ │ │ │ │ │ └── go-clientlib │ │ │ │ │ │ └── README.md │ │ │ │ └── go-metrics │ │ │ │ │ ├── docs.go │ │ │ │ │ └── helpers.go │ │ │ ├── google │ │ │ │ ├── uuid │ │ │ │ │ └── go.mod │ │ │ │ └── shlex │ │ │ │ │ └── README │ │ │ ├── gorilla │ │ │ │ └── mux │ │ │ │ │ └── go.mod │ │ │ ├── mattn │ │ │ │ └── go-shellwords │ │ │ │ │ └── go.mod │ │ │ ├── matttproud │ │ │ │ └── golang_protobuf_extensions │ │ │ │ │ └── NOTICE │ │ │ ├── konsorten │ │ │ │ └── go-windows-terminal-sequences │ │ │ │ │ ├── go.mod │ │ │ │ │ └── sequences_dummy.go │ │ │ ├── gogo │ │ │ │ ├── protobuf │ │ │ │ │ ├── go.mod │ │ │ │ │ └── test │ │ │ │ │ │ └── issue270 │ │ │ │ │ │ └── b │ │ │ │ │ │ └── b.proto │ │ │ │ └── googleapis │ │ │ │ │ ├── go.mod │ │ │ │ │ └── Readme.md │ │ │ ├── spf13 │ │ │ │ └── cobra │ │ │ │ │ └── command_notwin.go │ │ │ ├── tonistiigi │ │ │ │ └── fsutil │ │ │ │ │ └── types │ │ │ │ │ └── generate.go │ │ │ ├── jaguilar │ │ │ │ └── vt100 │ │ │ │ │ └── go.mod │ │ │ ├── moby │ │ │ │ └── buildkit │ │ │ │ │ ├── session │ │ │ │ │ ├── auth │ │ │ │ │ │ └── generate.go │ │ │ │ │ ├── filesync │ │ │ │ │ │ └── generate.go │ │ │ │ │ ├── secrets │ │ │ │ │ │ └── generate.go │ │ │ │ │ └── sshforward │ │ │ │ │ │ └── generate.go │ │ │ │ │ ├── solver │ │ │ │ │ └── pb │ │ │ │ │ │ └── generate.go │ │ │ │ │ ├── util │ │ │ │ │ ├── system │ │ │ │ │ │ ├── seccomp_noseccomp.go │ │ │ │ │ │ └── seccomp_nolinux.go │ │ │ │ │ ├── appcontext │ │ │ │ │ │ ├── appcontext_windows.go │ │ │ │ │ │ └── appcontext_unix.go │ │ │ │ │ └── apicaps │ │ │ │ │ │ └── pb │ │ │ │ │ │ └── generate.go │ │ │ │ │ ├── api │ │ │ │ │ ├── types │ │ │ │ │ │ └── generate.go │ │ │ │ │ └── services │ │ │ │ │ │ └── control │ │ │ │ │ │ └── generate.go │ │ │ │ │ ├── frontend │ │ │ │ │ └── gateway │ │ │ │ │ │ └── pb │ │ │ │ │ │ └── generate.go │ │ │ │ │ └── client │ │ │ │ │ └── exporters.go │ │ │ ├── opencontainers │ │ │ │ └── runc │ │ │ │ │ └── libcontainer │ │ │ │ │ ├── nsenter │ │ │ │ │ ├── nsenter_unsupported.go │ │ │ │ │ └── nsenter.go │ │ │ │ │ └── system │ │ │ │ │ └── sysconfig.go │ │ │ ├── googleapis │ │ │ │ └── gnostic │ │ │ │ │ ├── compiler │ │ │ │ │ └── README.md │ │ │ │ │ └── extensions │ │ │ │ │ └── README.md │ │ │ ├── sirupsen │ │ │ │ └── logrus │ │ │ │ │ ├── terminal_notwindows.go │ │ │ │ │ ├── terminal_check_js.go │ │ │ │ │ ├── terminal_check_appengine.go │ │ │ │ │ └── terminal_check_unix.go │ │ │ ├── Azure │ │ │ │ └── go-ansiterm │ │ │ │ │ └── context.go │ │ │ ├── grpc-ecosystem │ │ │ │ └── grpc-opentracing │ │ │ │ │ ├── python │ │ │ │ │ └── README.md │ │ │ │ │ └── go │ │ │ │ │ └── otgrpc │ │ │ │ │ └── package.go │ │ │ ├── coreos │ │ │ │ └── etcd │ │ │ │ │ └── NOTICE │ │ │ ├── Microsoft │ │ │ │ └── go-winio │ │ │ │ │ └── syscall.go │ │ │ ├── dgrijalva │ │ │ │ └── jwt-go │ │ │ │ │ └── doc.go │ │ │ ├── prometheus │ │ │ │ ├── client_golang │ │ │ │ │ └── prometheus │ │ │ │ │ │ └── README.md │ │ │ │ ├── client_model │ │ │ │ │ └── NOTICE │ │ │ │ ├── common │ │ │ │ │ └── NOTICE │ │ │ │ └── procfs │ │ │ │ │ └── NOTICE │ │ │ ├── containerd │ │ │ │ └── continuity │ │ │ │ │ └── sysx │ │ │ │ │ └── README.md │ │ │ └── theupdateframework │ │ │ │ └── notary │ │ │ │ ├── const_windows.go │ │ │ │ ├── tuf │ │ │ │ └── README.md │ │ │ │ └── trustmanager │ │ │ │ └── yubikey │ │ │ │ └── pkcs11_darwin.go │ │ ├── golang.org │ │ │ └── x │ │ │ │ ├── sync │ │ │ │ └── go.mod │ │ │ │ ├── sys │ │ │ │ ├── go.mod │ │ │ │ ├── cpu │ │ │ │ │ ├── cpu_arm.go │ │ │ │ │ └── cpu_mipsx.go │ │ │ │ └── unix │ │ │ │ │ └── endian_big.go │ │ │ │ ├── crypto │ │ │ │ └── go.mod │ │ │ │ ├── net │ │ │ │ └── go.mod │ │ │ │ └── oauth2 │ │ │ │ └── internal │ │ │ │ └── doc.go │ │ ├── gopkg.in │ │ │ └── yaml.v2 │ │ │ │ └── go.mod │ │ ├── vbom.ml │ │ │ └── util │ │ │ │ ├── README.md │ │ │ │ └── sortorder │ │ │ │ ├── README.md │ │ │ │ └── doc.go │ │ ├── cloud.google.com │ │ │ └── go │ │ │ │ └── cmd │ │ │ │ └── go-cloud-debug-agent │ │ │ │ └── internal │ │ │ │ └── debug │ │ │ │ └── gosym │ │ │ │ └── pclinetest.h │ │ └── gotest.tools │ │ │ └── go.mod │ ├── cli │ │ ├── command │ │ │ ├── container │ │ │ │ └── testdata │ │ │ │ │ ├── valid.env │ │ │ │ │ ├── valid.label │ │ │ │ │ ├── utf8.env │ │ │ │ │ ├── container-list-format-name-name.golden │ │ │ │ │ ├── container-list-format-with-arg.golden │ │ │ │ │ ├── container-list-with-format.golden │ │ │ │ │ ├── container-list-with-config-format.golden │ │ │ │ │ ├── container-create-localhost-dns-ipv6.golden │ │ │ │ │ ├── container-create-localhost-dns.golden │ │ │ │ │ ├── utf16.env │ │ │ │ │ ├── utf16be.env │ │ │ │ │ ├── container-create-oom-kill-without-memory-limit.golden │ │ │ │ │ └── container-create-oom-kill-true-without-memory-limit.golden │ │ │ ├── image │ │ │ │ ├── testdata │ │ │ │ │ ├── list-command-success.format.golden │ │ │ │ │ ├── list-command-success.quiet-format.golden │ │ │ │ │ ├── load-command-success.json.golden │ │ │ │ │ ├── load-command-success.simple.golden │ │ │ │ │ ├── history-command-success.quiet.golden │ │ │ │ │ ├── load-command-success.input-file.golden │ │ │ │ │ ├── load-command-success.input.txt │ │ │ │ │ ├── import-command-success.input.txt │ │ │ │ │ ├── inspect-command-success.format.golden │ │ │ │ │ ├── pull-command-success.simple.golden │ │ │ │ │ ├── remove-command-success.Image Deleted.golden │ │ │ │ │ ├── remove-command-success.Image Untagged.golden │ │ │ │ │ ├── remove-command-success.Image not found with force option.golden │ │ │ │ │ ├── history-command-success.quiet-no-trunc.golden │ │ │ │ │ ├── prune-command-success.label-filter.golden │ │ │ │ │ ├── Dockerfile.test │ │ │ │ │ ├── remove-command-success.Image Deleted and Untagged.golden │ │ │ │ │ ├── pull-command-success.simple-no-tag.golden │ │ │ │ │ ├── pull-command-success.simple-quiet.golden │ │ │ │ │ ├── prune-command-success.force-deleted.golden │ │ │ │ │ ├── prune-command-success.force-untagged.golden │ │ │ │ │ ├── list-command-success.filters.golden │ │ │ │ │ ├── list-command-success.simple.golden │ │ │ │ │ ├── list-command-success.match-name.golden │ │ │ │ │ ├── prune-command-success.all.golden │ │ │ │ │ ├── history-command-success.simple.golden │ │ │ │ │ └── history-command-success.non-human.golden │ │ │ │ └── build │ │ │ │ │ └── context_unix.go │ │ │ ├── stack │ │ │ │ ├── kubernetes │ │ │ │ │ └── testdata │ │ │ │ │ │ ├── config │ │ │ │ │ │ ├── secret │ │ │ │ │ │ ├── compose-with-pull-policy.yml │ │ │ │ │ │ ├── compose-with-pull-secret.yml │ │ │ │ │ │ └── compose-with-expose.yml │ │ │ │ └── testdata │ │ │ │ │ ├── stack-ps-with-quiet-option.golden │ │ │ │ │ ├── stack-list-with-format.golden │ │ │ │ │ ├── stack-ps-with-format.golden │ │ │ │ │ ├── stack-services-with-quiet-option.golden │ │ │ │ │ ├── stack-ps-with-config-format.golden │ │ │ │ │ ├── stack-ps-with-no-resolve-option.golden │ │ │ │ │ ├── stack-services-with-format.golden │ │ │ │ │ ├── stack-services-with-config-format.golden │ │ │ │ │ ├── stack-ps-with-no-trunc-option.golden │ │ │ │ │ ├── stack-list-without-format.golden │ │ │ │ │ ├── stack-list-sort.golden │ │ │ │ │ ├── stack-list-sort-natural.golden │ │ │ │ │ └── stack-services-without-format.golden │ │ │ ├── trust │ │ │ │ └── testdata │ │ │ │ │ └── trust-inspect-uninitialized.golden │ │ │ ├── plugin │ │ │ │ └── testdata │ │ │ │ │ ├── plugin-list-with-format.golden │ │ │ │ │ ├── plugin-list-with-quiet-option.golden │ │ │ │ │ ├── plugin-inspect-single-with-format.golden │ │ │ │ │ ├── plugin-inspect-multiple-with-format.golden │ │ │ │ │ ├── plugin-list-sort.golden │ │ │ │ │ ├── plugin-list-with-no-trunc-option.golden │ │ │ │ │ └── plugin-list-without-format.golden │ │ │ ├── task │ │ │ │ └── testdata │ │ │ │ │ ├── task-print-with-quiet-option.golden │ │ │ │ │ ├── task-print-with-replicated-service.golden │ │ │ │ │ ├── task-print-with-global-service.golden │ │ │ │ │ ├── task-print-with-resolution.golden │ │ │ │ │ ├── task-print-with-no-trunc-option.golden │ │ │ │ │ └── task-context-write-table-custom.golden │ │ │ ├── config │ │ │ │ └── testdata │ │ │ │ │ ├── config-create-with-name.golden │ │ │ │ │ ├── config-inspect-with-format.simple-template.golden │ │ │ │ │ ├── config-list-with-quiet-option.golden │ │ │ │ │ ├── config-list-with-format.golden │ │ │ │ │ ├── config-list-with-config-format.golden │ │ │ │ │ ├── config-inspect-with-format.json-template.golden │ │ │ │ │ ├── config-inspect-pretty.simple.golden │ │ │ │ │ └── config-list-with-filter.golden │ │ │ ├── secret │ │ │ │ └── testdata │ │ │ │ │ ├── secret-create-with-name.golden │ │ │ │ │ ├── secret-inspect-with-format.simple-template.golden │ │ │ │ │ ├── secret-list-with-quiet-option.golden │ │ │ │ │ ├── secret-list-with-format.golden │ │ │ │ │ ├── secret-list-with-config-format.golden │ │ │ │ │ ├── secret-inspect-with-format.json-template.golden │ │ │ │ │ └── secret-inspect-pretty.simple.golden │ │ │ ├── swarm │ │ │ │ └── testdata │ │ │ │ │ ├── jointoken-worker-quiet.golden │ │ │ │ │ ├── unlockkeys-unlock-key-quiet.golden │ │ │ │ │ ├── update-all-flags-quiet.golden │ │ │ │ │ ├── jointoken-manager-quiet.golden │ │ │ │ │ ├── unlockkeys-unlock-key-rotate-quiet.golden │ │ │ │ │ ├── jointoken-manager.golden │ │ │ │ │ ├── jointoken-worker.golden │ │ │ │ │ ├── init-init.golden │ │ │ │ │ ├── jointoken-manager-rotate.golden │ │ │ │ │ └── unlockkeys-unlock-key.golden │ │ │ ├── context │ │ │ │ └── testdata │ │ │ │ │ └── quiet-list.golden │ │ │ ├── volume │ │ │ │ └── testdata │ │ │ │ │ ├── volume-prune.empty.golden │ │ │ │ │ ├── volume-inspect-with-format.simple-template.golden │ │ │ │ │ ├── volume-inspect-with-format.json-template.golden │ │ │ │ │ ├── volume-list-sort.golden │ │ │ │ │ ├── volume-list-with-format.golden │ │ │ │ │ ├── volume-list-with-config-format.golden │ │ │ │ │ ├── volume-prune.deletedVolumes.golden │ │ │ │ │ ├── volume-list-without-format.golden │ │ │ │ │ ├── volume-prune-no.golden │ │ │ │ │ ├── volume-prune-yes.golden │ │ │ │ │ └── volume-inspect-without-format.single-volume.golden │ │ │ ├── checkpoint │ │ │ │ └── testdata │ │ │ │ │ └── checkpoint-list-with-options.golden │ │ │ ├── network │ │ │ │ └── testdata │ │ │ │ │ ├── network-list-sort.golden │ │ │ │ │ └── network-list.golden │ │ │ ├── service │ │ │ │ └── testdata │ │ │ │ │ ├── service-list-sort.golden │ │ │ │ │ └── service-context-write-raw.golden │ │ │ ├── node │ │ │ │ └── testdata │ │ │ │ │ ├── node-list-format-flag.golden │ │ │ │ │ └── node-list-format-from-config.golden │ │ │ ├── system │ │ │ │ └── testdata │ │ │ │ │ ├── docker-info-plugins-warnings.golden │ │ │ │ │ ├── docker-info-errors.golden │ │ │ │ │ └── docker-info-errors.json.golden │ │ │ ├── engine │ │ │ │ ├── activate_windows.go │ │ │ │ ├── testdata │ │ │ │ │ ├── expired-license-display-only.golden │ │ │ │ │ ├── check-patches-only.golden │ │ │ │ │ └── expired-hub-license-display-only.golden │ │ │ │ ├── init.go │ │ │ │ ├── activate_unix.go │ │ │ │ └── cmd_test.go │ │ │ ├── formatter │ │ │ │ └── testdata │ │ │ │ │ ├── disk-usage-context-write-custom.golden │ │ │ │ │ └── container-context-write-special-headers.golden │ │ │ └── registry │ │ │ │ └── testdata │ │ │ │ ├── search-context-write-stars-table.golden │ │ │ │ └── search-context-write-table.golden │ │ ├── compose │ │ │ ├── loader │ │ │ │ ├── example2.env │ │ │ │ └── example1.env │ │ │ └── schema │ │ │ │ └── data │ │ │ │ └── doc.go │ │ ├── config │ │ │ ├── credentials │ │ │ │ ├── default_store_windows.go │ │ │ │ ├── default_store_darwin.go │ │ │ │ ├── default_store_unsupported.go │ │ │ │ └── default_store_linux.go │ │ │ └── configfile │ │ │ │ └── testdata │ │ │ │ ├── plugin-config.golden │ │ │ │ └── plugin-config-2.golden │ │ ├── connhelper │ │ │ └── commandconn │ │ │ │ ├── session_windows.go │ │ │ │ ├── pdeathsig_nolinux.go │ │ │ │ └── pdeathsig_linux.go │ │ ├── context │ │ │ ├── docker │ │ │ │ └── constants.go │ │ │ ├── kubernetes │ │ │ │ └── constants.go │ │ │ └── endpoint.go │ │ └── version │ │ │ └── version.go │ ├── kubernetes │ │ ├── compose │ │ │ ├── v1beta1 │ │ │ │ └── stack_test.go │ │ │ ├── doc.go │ │ │ ├── v1beta2 │ │ │ │ └── owner.go │ │ │ └── clone │ │ │ │ └── slices.go │ │ ├── doc.go │ │ └── README.md │ ├── scripts │ │ ├── winresources │ │ │ ├── docker.rc │ │ │ ├── docker.ico │ │ │ └── docker.png │ │ ├── validate │ │ │ └── shellcheck │ │ ├── test │ │ │ └── e2e │ │ │ │ └── wait-on-daemon │ │ └── docs │ │ │ └── generate-yaml.sh │ ├── cmd │ │ └── docker │ │ │ └── docker_windows.go │ ├── docs │ │ ├── yaml │ │ │ └── Dockerfile │ │ └── extend │ │ │ └── images │ │ │ ├── authz_allow.png │ │ │ ├── authz_deny.png │ │ │ ├── authz_chunked.png │ │ │ ├── authz_additional_info.png │ │ │ └── authz_connection_hijack.png │ ├── contrib │ │ └── completion │ │ │ ├── zsh │ │ │ └── REVIEWERS │ │ │ └── powershell │ │ │ └── readme.txt │ ├── experimental │ │ └── images │ │ │ ├── ipvlan-l3.png │ │ │ ├── ipvlan_l2_simple.png │ │ │ ├── vlans-deeper-look.png │ │ │ ├── macvlan-bridge-ipvlan-l2.png │ │ │ └── multi_tenant_8021q_vlans.png │ ├── internal │ │ ├── test │ │ │ ├── builders │ │ │ │ └── doc.go │ │ │ └── doc.go │ │ └── pkg │ │ │ └── containerized │ │ │ ├── signal_unix.go │ │ │ └── signal_windows.go │ ├── dockerfiles │ │ ├── Dockerfile.cross │ │ ├── Dockerfile.shellcheck │ │ └── Dockerfile.binary-native │ ├── opts │ │ ├── hosts_windows.go │ │ ├── opts_unix.go │ │ └── hosts_unix.go │ ├── cli-plugins │ │ └── manager │ │ │ ├── suffix_unix.go │ │ │ ├── manager_unix.go │ │ │ └── manager_windows.go │ └── .github │ │ └── CODEOWNERS ├── packaging │ ├── plugins │ │ └── .gitkeep │ ├── deb │ │ └── common │ │ │ ├── compat │ │ │ ├── docs │ │ │ ├── docker-ce-cli.manpages │ │ │ └── docker-ce-cli.bash-completion │ ├── .gitignore │ └── systemd │ │ └── docker.socket └── engine │ ├── integration │ ├── plugin │ │ ├── logging │ │ │ └── cmd │ │ │ │ ├── cmd_test.go │ │ │ │ ├── dummy │ │ │ │ └── main_test.go │ │ │ │ └── close_on_start │ │ │ │ └── main_test.go │ │ ├── volumes │ │ │ └── cmd │ │ │ │ ├── cmd_test.go │ │ │ │ └── dummy │ │ │ │ └── main_test.go │ │ ├── pkg_test.go │ │ └── authz │ │ │ └── main_windows_test.go │ └── doc.go │ ├── vendor │ ├── github.com │ │ ├── docker │ │ │ ├── go-connections │ │ │ │ └── sockets │ │ │ │ │ └── README.md │ │ │ ├── swarmkit │ │ │ │ ├── manager │ │ │ │ │ └── doc.go │ │ │ │ ├── protobuf │ │ │ │ │ └── ptypes │ │ │ │ │ │ └── doc.go │ │ │ │ └── identity │ │ │ │ │ └── combined_id.go │ │ │ ├── distribution │ │ │ │ └── manifest │ │ │ │ │ └── doc.go │ │ │ ├── libnetwork │ │ │ │ ├── drivers │ │ │ │ │ ├── overlay │ │ │ │ │ │ └── ostweaks_unsupported.go │ │ │ │ │ └── bridge │ │ │ │ │ │ ├── netlink_deprecated_linux_armppc64.go │ │ │ │ │ │ └── netlink_deprecated_linux_notarm.go │ │ │ │ ├── resolvconf │ │ │ │ │ └── README.md │ │ │ │ ├── firewall_others.go │ │ │ │ ├── ns │ │ │ │ │ └── init_windows.go │ │ │ │ ├── osl │ │ │ │ │ ├── neigh_freebsd.go │ │ │ │ │ ├── neigh_windows.go │ │ │ │ │ ├── interface_freebsd.go │ │ │ │ │ ├── interface_windows.go │ │ │ │ │ └── kernel │ │ │ │ │ │ └── knobs_unsupported.go │ │ │ │ ├── resolver_windows.go │ │ │ │ ├── portallocator │ │ │ │ │ └── portallocator_windows.go │ │ │ │ └── sandbox_externalkey.go │ │ │ └── go-metrics │ │ │ │ ├── helpers.go │ │ │ │ └── docs.go │ │ ├── Microsoft │ │ │ ├── hcsshim │ │ │ │ └── cmd │ │ │ │ │ └── containerd-shim-runhcs-v1 │ │ │ │ │ └── options │ │ │ │ │ └── doc.go │ │ │ ├── opengcs │ │ │ │ └── client │ │ │ │ │ └── unsupported.go │ │ │ └── go-winio │ │ │ │ ├── backuptar │ │ │ │ └── noop.go │ │ │ │ └── syscall.go │ │ ├── fluent │ │ │ └── fluent-logger-golang │ │ │ │ └── fluent │ │ │ │ ├── version.go │ │ │ │ └── test_message.go │ │ ├── matttproud │ │ │ └── golang_protobuf_extensions │ │ │ │ └── NOTICE │ │ ├── opencontainers │ │ │ └── runc │ │ │ │ └── libcontainer │ │ │ │ ├── cgroups │ │ │ │ └── cgroups_unsupported.go │ │ │ │ ├── nsenter │ │ │ │ ├── nsenter_unsupported.go │ │ │ │ └── nsenter.go │ │ │ │ ├── configs │ │ │ │ ├── namespaces.go │ │ │ │ ├── cgroup_windows.go │ │ │ │ ├── hugepage_limit.go │ │ │ │ └── namespaces_unsupported.go │ │ │ │ └── system │ │ │ │ └── sysconfig.go │ │ ├── gogo │ │ │ ├── protobuf │ │ │ │ └── test │ │ │ │ │ └── issue270 │ │ │ │ │ └── b │ │ │ │ │ └── b.proto │ │ │ └── googleapis │ │ │ │ └── Readme.md │ │ ├── spf13 │ │ │ └── cobra │ │ │ │ └── command_notwin.go │ │ ├── google │ │ │ └── shlex │ │ │ │ └── README │ │ ├── moby │ │ │ └── buildkit │ │ │ │ ├── session │ │ │ │ ├── auth │ │ │ │ │ └── generate.go │ │ │ │ ├── secrets │ │ │ │ │ └── generate.go │ │ │ │ ├── upload │ │ │ │ │ └── generate.go │ │ │ │ ├── filesync │ │ │ │ │ └── generate.go │ │ │ │ └── sshforward │ │ │ │ │ └── generate.go │ │ │ │ ├── solver │ │ │ │ └── pb │ │ │ │ │ └── generate.go │ │ │ │ ├── cache │ │ │ │ └── contenthash │ │ │ │ │ └── generate.go │ │ │ │ ├── util │ │ │ │ ├── binfmt_misc │ │ │ │ │ ├── arm_check_arm.go │ │ │ │ │ ├── amd64_check_amd64.go │ │ │ │ │ ├── arm64_check_arm64.go │ │ │ │ │ ├── arm_check.go │ │ │ │ │ ├── amd64_check.go │ │ │ │ │ ├── arm64_check.go │ │ │ │ │ ├── riscv64_check_riscv64.go │ │ │ │ │ ├── riscv64_check.go │ │ │ │ │ ├── check_windows.go │ │ │ │ │ └── check_unix.go │ │ │ │ ├── system │ │ │ │ │ ├── seccomp_noseccomp.go │ │ │ │ │ └── seccomp_nolinux.go │ │ │ │ └── apicaps │ │ │ │ │ └── pb │ │ │ │ │ └── generate.go │ │ │ │ ├── api │ │ │ │ ├── types │ │ │ │ │ └── generate.go │ │ │ │ └── services │ │ │ │ │ └── control │ │ │ │ │ └── generate.go │ │ │ │ ├── frontend │ │ │ │ ├── dockerfile │ │ │ │ │ ├── instructions │ │ │ │ │ │ ├── commands_ssh.go │ │ │ │ │ │ ├── commands_nossh.go │ │ │ │ │ │ ├── commands_secrets.go │ │ │ │ │ │ ├── commands_nosecrets.go │ │ │ │ │ │ └── errors_unix.go │ │ │ │ │ └── dockerfile2llb │ │ │ │ │ │ ├── defaultshell_unix.go │ │ │ │ │ │ └── defaultshell_windows.go │ │ │ │ └── gateway │ │ │ │ │ └── pb │ │ │ │ │ └── generate.go │ │ │ │ └── client │ │ │ │ └── exporters.go │ │ ├── tonistiigi │ │ │ └── fsutil │ │ │ │ ├── types │ │ │ │ └── generate.go │ │ │ │ └── copy │ │ │ │ └── hardlink_windows.go │ │ ├── vishvananda │ │ │ ├── netns │ │ │ │ ├── netns_linux_386.go │ │ │ │ ├── netns_linux_arm.go │ │ │ │ ├── netns_linux_amd64.go │ │ │ │ ├── netns_linux_arm64.go │ │ │ │ ├── netns_linux_s390x.go │ │ │ │ └── netns_linux_ppc64le.go │ │ │ └── netlink │ │ │ │ ├── nl │ │ │ │ └── nl_unspecified.go │ │ │ │ ├── route_unspecified.go │ │ │ │ └── netlink_linux.go │ │ ├── philhofer │ │ │ └── fwd │ │ │ │ └── writer_appengine.go │ │ ├── grpc-ecosystem │ │ │ └── grpc-opentracing │ │ │ │ ├── python │ │ │ │ └── README.md │ │ │ │ └── go │ │ │ │ └── otgrpc │ │ │ │ └── package.go │ │ ├── opentracing-contrib │ │ │ └── go-stdlib │ │ │ │ └── nethttp │ │ │ │ └── doc.go │ │ ├── sirupsen │ │ │ └── logrus │ │ │ │ ├── terminal_notwindows.go │ │ │ │ ├── terminal_check_js.go │ │ │ │ └── terminal_check_appengine.go │ │ ├── Azure │ │ │ └── go-ansiterm │ │ │ │ └── context.go │ │ ├── aws │ │ │ └── aws-sdk-go │ │ │ │ ├── NOTICE.txt │ │ │ │ └── aws │ │ │ │ ├── context_1_7.go │ │ │ │ ├── signer │ │ │ │ └── v4 │ │ │ │ │ └── options.go │ │ │ │ ├── request │ │ │ │ └── connection_reset_error_other.go │ │ │ │ └── version.go │ │ ├── godbus │ │ │ └── dbus │ │ │ │ ├── transport_darwin.go │ │ │ │ └── homedir_dynamic.go │ │ ├── coreos │ │ │ ├── etcd │ │ │ │ ├── NOTICE │ │ │ │ └── pkg │ │ │ │ │ └── README.md │ │ │ ├── pkg │ │ │ │ ├── NOTICE │ │ │ │ └── README.md │ │ │ └── go-systemd │ │ │ │ └── NOTICE │ │ ├── hashicorp │ │ │ └── go-sockaddr │ │ │ │ └── doc.go │ │ ├── kr │ │ │ └── pty │ │ │ │ ├── ztypes_386.go │ │ │ │ ├── ztypes_amd64.go │ │ │ │ ├── ztypes_arm.go │ │ │ │ ├── ztypes_arm64.go │ │ │ │ ├── ztypes_ppc64.go │ │ │ │ ├── ztypes_ppc64le.go │ │ │ │ ├── ztypes_s390x.go │ │ │ │ ├── pty_unsupported.go │ │ │ │ ├── ztypes_mipsx.go │ │ │ │ ├── ztypes_freebsd_386.go │ │ │ │ ├── ztypes_freebsd_arm.go │ │ │ │ ├── ioctl.go │ │ │ │ ├── ztypes_openbsd_386.go │ │ │ │ ├── ztypes_openbsd_amd64.go │ │ │ │ ├── ztypes_freebsd_amd64.go │ │ │ │ └── ztypes_dragonfly_amd64.go │ │ ├── prometheus │ │ │ ├── client_golang │ │ │ │ └── prometheus │ │ │ │ │ └── README.md │ │ │ ├── client_model │ │ │ │ └── NOTICE │ │ │ ├── common │ │ │ │ └── NOTICE │ │ │ └── procfs │ │ │ │ └── NOTICE │ │ ├── containerd │ │ │ └── continuity │ │ │ │ └── sysx │ │ │ │ └── README.md │ │ ├── armon │ │ │ └── go-metrics │ │ │ │ ├── const_unix.go │ │ │ │ └── const_windows.go │ │ ├── jmespath │ │ │ └── go-jmespath │ │ │ │ └── README.md │ │ ├── ugorji │ │ │ └── go │ │ │ │ └── codec │ │ │ │ ├── goversion_vendor_gte_go17.go │ │ │ │ ├── goversion_vendor_lt_go15.go │ │ │ │ ├── goversion_unexportedembeddedptr_gte_go110.go │ │ │ │ └── goversion_unexportedembeddedptr_lt_go110.go │ │ └── konsorten │ │ │ └── go-windows-terminal-sequences │ │ │ └── sequences_dummy.go │ ├── code.cloudfoundry.org │ │ └── clock │ │ │ ├── package.go │ │ │ └── README.md │ ├── go.etcd.io │ │ └── bbolt │ │ │ ├── boltsync_unix.go │ │ │ └── bolt_linux.go │ └── golang.org │ │ └── x │ │ ├── net │ │ └── internal │ │ │ └── socket │ │ │ ├── sys_darwin.go │ │ │ ├── sys_dragonfly.go │ │ │ ├── empty.s │ │ │ └── sys_linux_arm.go │ │ ├── sys │ │ ├── cpu │ │ │ ├── cpu_arm.go │ │ │ └── cpu_mipsx.go │ │ └── unix │ │ │ └── endian_big.go │ │ └── oauth2 │ │ └── internal │ │ └── doc.go │ ├── contrib │ ├── REVIEWERS │ ├── syntax │ │ ├── textmate │ │ │ └── REVIEWERS │ │ └── vim │ │ │ └── ftdetect │ │ │ └── dockerfile.vim │ ├── docker-device-tool │ │ └── device_tool_windows.go │ ├── httpserver │ │ ├── Dockerfile │ │ └── server.go │ ├── init │ │ ├── upstart │ │ │ └── REVIEWERS │ │ ├── systemd │ │ │ └── REVIEWERS │ │ └── sysvinit-redhat │ │ │ └── docker.sysconfig │ ├── syscall-test │ │ ├── exit32.s │ │ ├── setgid.c │ │ ├── setuid.c │ │ └── raw.c │ ├── nnp-test │ │ ├── Dockerfile │ │ └── nnp-test.c │ ├── README.md │ └── editorconfig │ ├── integration-cli │ ├── fixtures │ │ └── https │ │ │ ├── ca.pem │ │ │ ├── client-key.pem │ │ │ ├── server-key.pem │ │ │ ├── client-cert.pem │ │ │ └── server-cert.pem │ ├── test_vars_seccomp_test.go │ ├── test_vars_exec_test.go │ ├── test_vars_noexec_test.go │ └── test_vars_noseccomp_test.go │ ├── .dockerignore │ ├── pkg │ ├── archive │ │ ├── README.md │ │ ├── testdata │ │ │ └── broken.tar │ │ ├── archive_other.go │ │ ├── copy_windows.go │ │ └── copy_unix.go │ ├── sysinfo │ │ ├── README.md │ │ ├── sysinfo_windows.go │ │ ├── numcpu.go │ │ └── sysinfo_unix.go │ ├── stringid │ │ └── README.md │ ├── signal │ │ ├── README.md │ │ └── signal_unsupported.go │ ├── useragent │ │ └── README.md │ ├── chrootarchive │ │ └── init_windows.go │ ├── tarsum │ │ └── testdata │ │ │ └── xattr │ │ │ └── layer.tar │ ├── term │ │ └── windows │ │ │ └── windows_test.go │ ├── mount │ │ ├── unmount_unsupported.go │ │ ├── mountinfo_windows.go │ │ └── mounter_unsupported.go │ ├── plugins │ │ ├── discovery_unix.go │ │ ├── pluginrpc-gen │ │ │ └── fixtures │ │ │ │ └── otherfixture │ │ │ │ └── spaceship.go │ │ └── discovery_windows.go │ ├── devicemapper │ │ └── devmapper_wrapper_dynamic.go │ ├── system │ │ ├── lcow_windows.go │ │ ├── lcow_unix.go │ │ ├── umask_windows.go │ │ └── meminfo_unsupported.go │ ├── dmesg │ │ └── dmesg_linux_test.go │ ├── fileutils │ │ └── fileutils_windows.go │ ├── namesgenerator │ │ └── cmd │ │ │ └── names-generator │ │ │ └── main.go │ ├── ioutils │ │ └── temp_unix.go │ └── reexec │ │ └── README.md │ ├── hack │ ├── make │ │ ├── .resources-windows │ │ │ ├── docker.rc │ │ │ ├── dockerd.rc │ │ │ ├── docker.ico │ │ │ └── docker.png │ │ ├── cross-platform-dependent │ │ ├── .integration-daemon-setup │ │ ├── test-integration-shell │ │ ├── build-integration-test-binary │ │ ├── binary │ │ ├── dynbinary │ │ └── test-integration-cli │ ├── validate │ │ ├── .swagger-yamllint │ │ └── all │ └── ci │ │ ├── z │ │ ├── powerpc │ │ ├── arm │ │ └── experimental │ ├── api │ ├── server │ │ └── router │ │ │ ├── network │ │ │ └── filter.go │ │ │ └── grpc │ │ │ └── backend.go │ ├── common_unix.go │ └── types │ │ ├── swarm │ │ └── runtime │ │ │ └── gen.go │ │ └── plugins │ │ └── logdriver │ │ └── gen.go │ ├── daemon │ ├── graphdriver │ │ ├── zfs │ │ │ ├── MAINTAINERS │ │ │ └── zfs_unsupported.go │ │ ├── graphtest │ │ │ └── graphtest_windows.go │ │ ├── btrfs │ │ │ └── dummy_unsupported.go │ │ ├── overlay │ │ │ └── overlay_unsupported.go │ │ ├── overlay2 │ │ │ └── overlay_unsupported.go │ │ ├── register │ │ │ ├── register_vfs.go │ │ │ ├── register_aufs.go │ │ │ ├── register_btrfs.go │ │ │ ├── register_overlay.go │ │ │ ├── register_overlay2.go │ │ │ ├── register_windows.go │ │ │ └── register_zfs.go │ │ ├── vfs │ │ │ └── copy_linux.go │ │ └── copy │ │ │ └── copy_nocgo.go │ ├── configs_linux.go │ ├── secrets_linux.go │ ├── configs_windows.go │ ├── secrets_windows.go │ ├── configs_unsupported.go │ ├── logger │ │ ├── journald │ │ │ ├── journald_unsupported.go │ │ │ ├── read_native.go │ │ │ ├── read_unsupported.go │ │ │ └── read_native_compat.go │ │ └── gcplogs │ │ │ └── gcplogging_others.go │ ├── secrets_unsupported.go │ ├── apparmor_default_unsupported.go │ ├── debugtrap_unsupported.go │ ├── keys_unsupported.go │ ├── container_windows.go │ ├── cluster │ │ ├── listen_addr_others.go │ │ └── executor │ │ │ └── container │ │ │ └── validate_unix_test.go │ ├── daemon_unsupported.go │ ├── selinux_unsupported.go │ └── licensing.go │ ├── docs │ ├── static_files │ │ ├── contributors.png │ │ └── moby-project-logo.png │ └── contributing │ │ └── images │ │ ├── copy_url.png │ │ ├── git_bash.png │ │ ├── branch-sig.png │ │ ├── fork_docker.png │ │ ├── list_example.png │ │ └── contributor-edit.png │ ├── builder │ ├── builder-next │ │ └── worker │ │ │ └── gc_windows.go │ ├── remotecontext │ │ ├── generate.go │ │ └── tarsum.proto │ └── dockerfile │ │ ├── builder_unix.go │ │ └── builder_windows.go │ ├── cmd │ └── dockerd │ │ ├── README.md │ │ ├── service_unsupported.go │ │ └── daemon_freebsd.go │ ├── internal │ └── test │ │ ├── helper.go │ │ └── request │ │ ├── npipe.go │ │ └── npipe_windows.go │ ├── volume │ └── mounts │ │ ├── validate_windows_test.go │ │ ├── validate_unix_test.go │ │ └── volume_windows.go │ ├── opts │ ├── hosts_windows.go │ ├── opts_unix.go │ └── hosts_unix.go │ ├── layer │ ├── ro_layer_windows.go │ └── layer_unix.go │ ├── container │ └── mounts_windows.go │ └── client │ └── client_windows.go ├── .gitignore ├── .github └── PULL_REQUEST_TEMPLATE └── components.conf /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 18.10.0-ce-dev 2 | -------------------------------------------------------------------------------- /components/cli/VERSION: -------------------------------------------------------------------------------- 1 | 19.09.0-dev 2 | -------------------------------------------------------------------------------- /components/packaging/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | build -------------------------------------------------------------------------------- /components/packaging/deb/common/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /components/packaging/deb/common/docs: -------------------------------------------------------------------------------- 1 | cli/README.md 2 | -------------------------------------------------------------------------------- /components/cli/man/src/rmi.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image rm`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/tag.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image tag`. 2 | -------------------------------------------------------------------------------- /components/cli/e2e/image/testdata/push-with-content-trust-err.golden: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/e2e/stack/testdata/data: -------------------------------------------------------------------------------- 1 | A file with some text 2 | -------------------------------------------------------------------------------- /components/cli/man/src/container/run.md: -------------------------------------------------------------------------------- 1 | Alias for `docker run`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/cp.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container cp`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/image/build.md: -------------------------------------------------------------------------------- 1 | Alias for `docker build`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/images.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image ls`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/info.md: -------------------------------------------------------------------------------- 1 | Alias for `docker system info`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/load.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image load`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/ps.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container ls`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/pull.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image pull`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/push.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image push`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/rm.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container rm`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/save.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image save`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/top.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container top`. 2 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .helpers/ 2 | Dockerfile.engine 3 | image-linux 4 | *.tar 5 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/valid.env: -------------------------------------------------------------------------------- 1 | ENV1=value1 2 | -------------------------------------------------------------------------------- /components/cli/man/src/commit.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container commit`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/create.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container create`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/diff.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container diff`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/events.md: -------------------------------------------------------------------------------- 1 | Alias for `docker system events`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/exec.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container exec`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/export.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container export`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/history.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image history`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/import.md: -------------------------------------------------------------------------------- 1 | Alias for `docker image import`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/kill.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container kill`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/logs.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container logs`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/pause.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container pause`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/port.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container port`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/rename.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container rename`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/start.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container start`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/stats.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container stats`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/stop.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container stop`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/update.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container update`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/wait.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container wait`. 2 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/go-connections/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/packaging/deb/common/docker-ce-cli.manpages: -------------------------------------------------------------------------------- 1 | cli/man/man*/* 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/valid.label: -------------------------------------------------------------------------------- 1 | LABEL1=value1 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/list-command-success.format.golden: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/kubernetes/testdata/config: -------------------------------------------------------------------------------- 1 | this is a config -------------------------------------------------------------------------------- /components/cli/cli/command/stack/kubernetes/testdata/secret: -------------------------------------------------------------------------------- 1 | this is a secret -------------------------------------------------------------------------------- /components/cli/kubernetes/compose/v1beta1/stack_test.go: -------------------------------------------------------------------------------- 1 | package v1beta1 2 | -------------------------------------------------------------------------------- /components/cli/man/src/attach.md: -------------------------------------------------------------------------------- 1 | 2 | Alias for `docker container attach`. 3 | -------------------------------------------------------------------------------- /components/cli/man/src/container/restart.md: -------------------------------------------------------------------------------- 1 | Restart each container listed. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/container/start.md: -------------------------------------------------------------------------------- 1 | Start one or more containers. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/restart.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container restart`. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/unpause.md: -------------------------------------------------------------------------------- 1 | Alias for `docker container unpause`. 2 | -------------------------------------------------------------------------------- /components/cli/vendor/golang.org/x/sync/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/sync 2 | -------------------------------------------------------------------------------- /components/engine/integration/plugin/logging/cmd/cmd_test.go: -------------------------------------------------------------------------------- 1 | package cmd 2 | -------------------------------------------------------------------------------- /components/engine/integration/plugin/volumes/cmd/cmd_test.go: -------------------------------------------------------------------------------- 1 | package cmd 2 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/go-connections/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/list-command-success.quiet-format.golden: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/load-command-success.json.golden: -------------------------------------------------------------------------------- 1 | 1: 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/load-command-success.simple.golden: -------------------------------------------------------------------------------- 1 | Success -------------------------------------------------------------------------------- /components/cli/cli/command/trust/testdata/trust-inspect-uninitialized.golden: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/utf8.env: -------------------------------------------------------------------------------- 1 | FOO=BAR 2 | HELLO=您好 3 | BAR=FOO -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/history-command-success.quiet.golden: -------------------------------------------------------------------------------- 1 | tag 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/load-command-success.input-file.golden: -------------------------------------------------------------------------------- 1 | Success -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/load-command-success.input.txt: -------------------------------------------------------------------------------- 1 | file input test -------------------------------------------------------------------------------- /components/cli/cli/command/plugin/testdata/plugin-list-with-format.golden: -------------------------------------------------------------------------------- 1 | name-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-ps-with-quiet-option.golden: -------------------------------------------------------------------------------- 1 | id-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/task/testdata/task-print-with-quiet-option.golden: -------------------------------------------------------------------------------- 1 | id-foo 2 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/google/uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/uuid 2 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/gorilla/mux/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gorilla/mux 2 | -------------------------------------------------------------------------------- /components/engine/contrib/REVIEWERS: -------------------------------------------------------------------------------- 1 | Tianon Gravi (@tianon) 2 | -------------------------------------------------------------------------------- /components/engine/integration/plugin/logging/cmd/dummy/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | -------------------------------------------------------------------------------- /components/engine/integration/plugin/volumes/cmd/dummy/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/swarmkit/manager/doc.go: -------------------------------------------------------------------------------- 1 | package manager 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/config/testdata/config-create-with-name.golden: -------------------------------------------------------------------------------- 1 | config_foo_bar 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/import-command-success.input.txt: -------------------------------------------------------------------------------- 1 | file input test -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/inspect-command-success.format.golden: -------------------------------------------------------------------------------- 1 | 'image' 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/plugin/testdata/plugin-list-with-quiet-option.golden: -------------------------------------------------------------------------------- 1 | id-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/secret/testdata/secret-create-with-name.golden: -------------------------------------------------------------------------------- 1 | secret_foo_bar 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-list-with-format.golden: -------------------------------------------------------------------------------- 1 | service-name-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-ps-with-format.golden: -------------------------------------------------------------------------------- 1 | service-id-foo.1 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-services-with-quiet-option.golden: -------------------------------------------------------------------------------- 1 | id-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/jointoken-worker-quiet.golden: -------------------------------------------------------------------------------- 1 | worker-join-token 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/unlockkeys-unlock-key-quiet.golden: -------------------------------------------------------------------------------- 1 | unlock-key 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/update-all-flags-quiet.golden: -------------------------------------------------------------------------------- 1 | Swarm updated. 2 | -------------------------------------------------------------------------------- /components/cli/kubernetes/doc.go: -------------------------------------------------------------------------------- 1 | // 2 | // +domain=docker.com 3 | 4 | package kubernetes 5 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/distribution/manifest/doc.go: -------------------------------------------------------------------------------- 1 | package manifest 2 | -------------------------------------------------------------------------------- /components/cli/vendor/golang.org/x/sys/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/sys 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /components/engine/integration/plugin/logging/cmd/close_on_start/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/distribution/manifest/doc.go: -------------------------------------------------------------------------------- 1 | package manifest 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/context/testdata/quiet-list.golden: -------------------------------------------------------------------------------- 1 | current 2 | default 3 | other 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/plugin/testdata/plugin-inspect-single-with-format.golden: -------------------------------------------------------------------------------- 1 | name-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-ps-with-config-format.golden: -------------------------------------------------------------------------------- 1 | service-id-foo.1 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-ps-with-no-resolve-option.golden: -------------------------------------------------------------------------------- 1 | id-node-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-services-with-format.golden: -------------------------------------------------------------------------------- 1 | service-name-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/jointoken-manager-quiet.golden: -------------------------------------------------------------------------------- 1 | manager-join-token 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/unlockkeys-unlock-key-rotate-quiet.golden: -------------------------------------------------------------------------------- 1 | unlock-key 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-prune.empty.golden: -------------------------------------------------------------------------------- 1 | Total reclaimed space: 0B 2 | -------------------------------------------------------------------------------- /components/engine/integration-cli/fixtures/https/ca.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/ca.pem -------------------------------------------------------------------------------- /components/cli/cli/command/config/testdata/config-inspect-with-format.simple-template.golden: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/config/testdata/config-list-with-quiet-option.golden: -------------------------------------------------------------------------------- 1 | ID-bar 2 | ID-foo 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/secret/testdata/secret-inspect-with-format.simple-template.golden: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/secret/testdata/secret-list-with-quiet-option.golden: -------------------------------------------------------------------------------- 1 | ID-bar 2 | ID-foo 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-services-with-config-format.golden: -------------------------------------------------------------------------------- 1 | service-name-foo 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/task/testdata/task-print-with-replicated-service.golden: -------------------------------------------------------------------------------- 1 | service-id-foo.1 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-inspect-with-format.simple-template.golden: -------------------------------------------------------------------------------- 1 | volume 2 | -------------------------------------------------------------------------------- /components/cli/e2e/cli-plugins/testdata/docker-help-badmeta-err.golden: -------------------------------------------------------------------------------- 1 | unknown help topic: badmeta 2 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/mattn/go-shellwords/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mattn/go-shellwords 2 | -------------------------------------------------------------------------------- /components/engine/.dockerignore: -------------------------------------------------------------------------------- 1 | bundles 2 | .gopath 3 | vendor/pkg 4 | .go-pkg-cache 5 | .git 6 | 7 | -------------------------------------------------------------------------------- /components/packaging/deb/common/docker-ce-cli.bash-completion: -------------------------------------------------------------------------------- 1 | cli/contrib/completion/bash/docker 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/config/testdata/config-list-with-format.golden: -------------------------------------------------------------------------------- 1 | bar label=label-bar 2 | foo 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/container-list-format-name-name.golden: -------------------------------------------------------------------------------- 1 | c1 c1 2 | c2 c2 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/container-list-format-with-arg.golden: -------------------------------------------------------------------------------- 1 | c1 value 2 | c2 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/pull-command-success.simple.golden: -------------------------------------------------------------------------------- 1 | docker.io/library/image:tag 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/remove-command-success.Image Deleted.golden: -------------------------------------------------------------------------------- 1 | Deleted: image1 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/remove-command-success.Image Untagged.golden: -------------------------------------------------------------------------------- 1 | Untagged: image1 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/remove-command-success.Image not found with force option.golden: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/cli/cli/command/secret/testdata/secret-list-with-format.golden: -------------------------------------------------------------------------------- 1 | bar label=label-bar 2 | foo 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-ps-with-no-trunc-option.golden: -------------------------------------------------------------------------------- 1 | xn4cypcov06f2w8gsbaf2lst3 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-inspect-with-format.json-template.golden: -------------------------------------------------------------------------------- 1 | {"foo":"bar"} 2 | -------------------------------------------------------------------------------- /components/engine/contrib/syntax/textmate/REVIEWERS: -------------------------------------------------------------------------------- 1 | Asbjorn Enge (@asbjornenge) 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/config/testdata/config-list-with-config-format.golden: -------------------------------------------------------------------------------- 1 | bar label=label-bar 2 | foo 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/history-command-success.quiet-no-trunc.golden: -------------------------------------------------------------------------------- 1 | 1234567890123456789 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/prune-command-success.label-filter.golden: -------------------------------------------------------------------------------- 1 | Total reclaimed space: 0B 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/plugin/testdata/plugin-inspect-multiple-with-format.golden: -------------------------------------------------------------------------------- 1 | name-foo 2 | name-bar 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/secret/testdata/secret-list-with-config-format.golden: -------------------------------------------------------------------------------- 1 | bar label=label-bar 2 | foo 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/task/testdata/task-print-with-global-service.golden: -------------------------------------------------------------------------------- 1 | service-id-foo.node-id-bar 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/task/testdata/task-print-with-resolution.golden: -------------------------------------------------------------------------------- 1 | service-name-foo.1 node-name-bar 2 | -------------------------------------------------------------------------------- /components/cli/e2e/cli-plugins/testdata/docker-help-nonexistent-err.golden: -------------------------------------------------------------------------------- 1 | unknown help topic: nonexistent 2 | -------------------------------------------------------------------------------- /components/cli/man/src/container/rename.md: -------------------------------------------------------------------------------- 1 | Rename a container. Container may be running, paused or stopped. 2 | -------------------------------------------------------------------------------- /components/cli/man/src/container/stop.md: -------------------------------------------------------------------------------- 1 | Stop a container (Send SIGTERM, and then SIGKILL after grace period) 2 | -------------------------------------------------------------------------------- /components/engine/contrib/docker-device-tool/device_tool_windows.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | } 5 | -------------------------------------------------------------------------------- /components/engine/integration-cli/fixtures/https/client-key.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/client-key.pem -------------------------------------------------------------------------------- /components/engine/integration-cli/fixtures/https/server-key.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/server-key.pem -------------------------------------------------------------------------------- /components/engine/pkg/archive/README.md: -------------------------------------------------------------------------------- 1 | This code provides helper functions for dealing with archive files. 2 | -------------------------------------------------------------------------------- /components/engine/pkg/sysinfo/README.md: -------------------------------------------------------------------------------- 1 | SysInfo stores information about which features a kernel supports. 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/config/testdata/config-inspect-with-format.json-template.golden: -------------------------------------------------------------------------------- 1 | {"label1":"label-foo"} 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/plugin/testdata/plugin-list-sort.golden: -------------------------------------------------------------------------------- 1 | plugin-1-foo 2 | plugin-2-foo 3 | plugin-10-foo 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/secret/testdata/secret-inspect-with-format.json-template.golden: -------------------------------------------------------------------------------- 1 | {"label1":"label-foo"} 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/task/testdata/task-print-with-no-trunc-option.golden: -------------------------------------------------------------------------------- 1 | id-foo-yov6omdek8fg3k5stosyp2m50 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-list-sort.golden: -------------------------------------------------------------------------------- 1 | volume-1-foo 2 | volume-2-foo 3 | volume-10-foo 4 | -------------------------------------------------------------------------------- /components/cli/scripts/winresources/docker.rc: -------------------------------------------------------------------------------- 1 | #define DOCKER_NAME "Docker Client" 2 | 3 | #include "common.rc" 4 | -------------------------------------------------------------------------------- /components/engine/integration-cli/fixtures/https/client-cert.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/client-cert.pem -------------------------------------------------------------------------------- /components/engine/integration-cli/fixtures/https/server-cert.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/server-cert.pem -------------------------------------------------------------------------------- /components/engine/vendor/github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options/doc.go: -------------------------------------------------------------------------------- 1 | package options 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/checkpoint/testdata/checkpoint-list-with-options.golden: -------------------------------------------------------------------------------- 1 | CHECKPOINT NAME 2 | checkpoint-foo 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/network/testdata/network-list-sort.golden: -------------------------------------------------------------------------------- 1 | network-1-foo 2 | network-2-foo 3 | network-10-foo 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/plugin/testdata/plugin-list-with-no-trunc-option.golden: -------------------------------------------------------------------------------- 1 | xyg4z2hiSLO5yTnBJfg4OYia9gKA6Qjd 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/service/testdata/service-list-sort.golden: -------------------------------------------------------------------------------- 1 | service-1-foo 2 | service-2-foo 3 | service-10-foo 4 | -------------------------------------------------------------------------------- /components/cli/cmd/docker/docker_windows.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import _ "github.com/docker/cli/cli/winresources" 4 | -------------------------------------------------------------------------------- /components/cli/e2e/stack/testdata/stack-remove-kubernetes-success.golden: -------------------------------------------------------------------------------- 1 | Removing stack: test-stack-remove-kubernetes 2 | -------------------------------------------------------------------------------- /components/engine/integration/plugin/pkg_test.go: -------------------------------------------------------------------------------- 1 | package plugin // import "github.com/docker/docker/integration/plugin" 2 | -------------------------------------------------------------------------------- /components/engine/pkg/stringid/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with string identifiers 2 | -------------------------------------------------------------------------------- /components/engine/vendor/code.cloudfoundry.org/clock/package.go: -------------------------------------------------------------------------------- 1 | package clock // import "code.cloudfoundry.org/clock" 2 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/Microsoft/opengcs/client/unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package client 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/Dockerfile.test: -------------------------------------------------------------------------------- 1 | FROM busybox 2 | ADD ./README.md / 3 | CMD ["cat", "/README.md"] 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/node/testdata/node-list-format-flag.golden: -------------------------------------------------------------------------------- 1 | nodeHostname1: Leader 2 | nodeHostname2: Reachable 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-list-with-format.golden: -------------------------------------------------------------------------------- 1 | baz local foo=bar 2 | foo bar 3 | volume local 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/compose-on-kubernetes/api/doc.go: -------------------------------------------------------------------------------- 1 | // 2 | // +domain=docker.com 3 | 4 | package apis 5 | -------------------------------------------------------------------------------- /components/engine/hack/make/.resources-windows/docker.rc: -------------------------------------------------------------------------------- 1 | #define DOCKER_NAME "Docker Client" 2 | 3 | #include "common.rc" 4 | -------------------------------------------------------------------------------- /components/packaging/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | debbuild 3 | rpmbuild 4 | tmp 5 | artifacts 6 | sources 7 | *.tar 8 | image-linux* 9 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-list-with-config-format.golden: -------------------------------------------------------------------------------- 1 | baz local foo=bar 2 | foo bar 3 | volume local 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /components/engine/contrib/httpserver/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM busybox 2 | EXPOSE 80/tcp 3 | COPY httpserver . 4 | CMD ["./httpserver"] 5 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/fluent/fluent-logger-golang/fluent/version.go: -------------------------------------------------------------------------------- 1 | package fluent 2 | 3 | const Version = "1.4.0" 4 | -------------------------------------------------------------------------------- /components/cli/e2e/cli-plugins/testdata/docker-badmeta-err.golden: -------------------------------------------------------------------------------- 1 | docker: 'badmeta' is not a docker command. 2 | See 'docker --help' 3 | -------------------------------------------------------------------------------- /components/engine/api/server/router/network/filter.go: -------------------------------------------------------------------------------- 1 | package network // import "github.com/docker/docker/api/server/router/network" 2 | -------------------------------------------------------------------------------- /components/engine/hack/validate/.swagger-yamllint: -------------------------------------------------------------------------------- 1 | extends: default 2 | rules: 3 | document-start: disable 4 | line-length: disable 5 | -------------------------------------------------------------------------------- /components/engine/pkg/signal/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with signals across various operating systems -------------------------------------------------------------------------------- /components/engine/vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/remove-command-success.Image Deleted and Untagged.golden: -------------------------------------------------------------------------------- 1 | Untagged: image1 2 | Deleted: image2 3 | -------------------------------------------------------------------------------- /components/cli/docs/yaml/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | COPY docs /docs 3 | # CMD cannot be nil so we set it to empty string 4 | CMD [""] 5 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/archive/README.md: -------------------------------------------------------------------------------- 1 | This code provides helper functions for dealing with archive files. 2 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/konsorten/go-windows-terminal-sequences/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/konsorten/go-windows-terminal-sequences 2 | -------------------------------------------------------------------------------- /components/engine/integration/plugin/authz/main_windows_test.go: -------------------------------------------------------------------------------- 1 | package authz // import "github.com/docker/docker/integration/plugin/authz" 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/container-list-with-format.golden: -------------------------------------------------------------------------------- 1 | c1 busybox:latest some.label=value 2 | c2 busybox:latest foo=bar 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/pull-command-success.simple-no-tag.golden: -------------------------------------------------------------------------------- 1 | Using default tag: latest 2 | docker.io/library/image:latest 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/pull-command-success.simple-quiet.golden: -------------------------------------------------------------------------------- 1 | Using default tag: latest 2 | docker.io/library/image:latest 3 | -------------------------------------------------------------------------------- /components/cli/contrib/completion/zsh/REVIEWERS: -------------------------------------------------------------------------------- 1 | Tianon Gravi (@tianon) 2 | Jessie Frazelle (@jfrazelle) 3 | -------------------------------------------------------------------------------- /components/cli/e2e/cli-plugins/testdata/docker-nonexistent-err.golden: -------------------------------------------------------------------------------- 1 | docker: 'nonexistent' is not a docker command. 2 | See 'docker --help' 3 | -------------------------------------------------------------------------------- /components/cli/scripts/winresources/docker.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/scripts/winresources/docker.ico -------------------------------------------------------------------------------- /components/cli/scripts/winresources/docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/scripts/winresources/docker.png -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/stringid/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with string identifiers 2 | -------------------------------------------------------------------------------- /components/cli/vendor/golang.org/x/crypto/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/crypto 2 | 3 | require golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e 4 | -------------------------------------------------------------------------------- /components/engine/contrib/init/upstart/REVIEWERS: -------------------------------------------------------------------------------- 1 | Tianon Gravi (@tianon) 2 | Jessie Frazelle (@jfrazelle) 3 | -------------------------------------------------------------------------------- /components/engine/pkg/useragent/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions to pack version information into a single User-Agent header. 2 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opencontainers/runc/libcontainer/cgroups/cgroups_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package cgroups 4 | -------------------------------------------------------------------------------- /components/cli/cli/compose/loader/example2.env: -------------------------------------------------------------------------------- 1 | BAR=bar_from_env_file_2 2 | 3 | # overridden in configDetails.Environment 4 | QUX=quz_from_env_file_2 5 | -------------------------------------------------------------------------------- /components/cli/docs/extend/images/authz_allow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/docs/extend/images/authz_allow.png -------------------------------------------------------------------------------- /components/cli/docs/extend/images/authz_deny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/docs/extend/images/authz_deny.png -------------------------------------------------------------------------------- /components/cli/experimental/images/ipvlan-l3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/experimental/images/ipvlan-l3.png -------------------------------------------------------------------------------- /components/cli/vendor/github.com/gogo/protobuf/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gogo/protobuf 2 | 3 | require github.com/kisielk/errcheck v1.1.0 // indirect 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/gogo/protobuf/test/issue270/b/b.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto2"; 2 | 3 | package issue270.b; 4 | 5 | message B { 6 | } 7 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/zfs/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Jörg Thalheim (@Mic92) 2 | Arthur Gautier (@baloose) 3 | -------------------------------------------------------------------------------- /components/engine/pkg/archive/testdata/broken.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/pkg/archive/testdata/broken.tar -------------------------------------------------------------------------------- /components/engine/vendor/github.com/gogo/protobuf/test/issue270/b/b.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto2"; 2 | 3 | package issue270.b; 4 | 5 | message B { 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/container-list-with-config-format.golden: -------------------------------------------------------------------------------- 1 | c1 busybox:latest some.label=value 2 | c2 busybox:latest foo=bar 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/system/testdata/docker-info-plugins-warnings.golden: -------------------------------------------------------------------------------- 1 | WARNING: Plugin "/path/to/docker-badplugin" is not valid: something wrong 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-prune.deletedVolumes.golden: -------------------------------------------------------------------------------- 1 | Deleted Volumes: 2 | foo 3 | bar 4 | baz 5 | 6 | Total reclaimed space: 2kB 7 | -------------------------------------------------------------------------------- /components/cli/docs/extend/images/authz_chunked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/docs/extend/images/authz_chunked.png -------------------------------------------------------------------------------- /components/cli/e2e/cli-plugins/testdata/docker-help-helloworld-goodbye.golden: -------------------------------------------------------------------------------- 1 | 2 | Usage: docker helloworld goodbye 3 | 4 | Say Goodbye instead of Hello 5 | -------------------------------------------------------------------------------- /components/cli/e2e/testdata/Dockerfile.notary-server: -------------------------------------------------------------------------------- 1 | ARG NOTARY_VERSION=0.5.0 2 | FROM notary:server-${NOTARY_VERSION} 3 | 4 | COPY ./notary/ /fixtures/ 5 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/google/shlex/README: -------------------------------------------------------------------------------- 1 | go-shlex is a simple lexer for go that supports shell-style quoting, 2 | commenting, and escaping. 3 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/tonistiigi/fsutil/types/generate.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | //go:generate protoc --gogoslick_out=. stat.proto wire.proto 4 | -------------------------------------------------------------------------------- /components/engine/contrib/syntax/vim/ftdetect/dockerfile.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead [Dd]ockerfile,[Dd]ockerfile.*,*.[Dd]ockerfile set filetype=dockerfile 2 | -------------------------------------------------------------------------------- /components/engine/contrib/syscall-test/exit32.s: -------------------------------------------------------------------------------- 1 | .globl _start 2 | .text 3 | _start: 4 | xorl %eax, %eax 5 | incl %eax 6 | movb $0, %bl 7 | int $0x80 8 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/graphtest/graphtest_windows.go: -------------------------------------------------------------------------------- 1 | package graphtest // import "github.com/docker/docker/daemon/graphdriver/graphtest" 2 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/google/shlex/README: -------------------------------------------------------------------------------- 1 | go-shlex is a simple lexer for go that supports shell-style quoting, 2 | commenting, and escaping. 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/container-create-localhost-dns-ipv6.golden: -------------------------------------------------------------------------------- 1 | WARNING: Localhost DNS setting (--dns=::1) may fail in containers. 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/container-create-localhost-dns.golden: -------------------------------------------------------------------------------- 1 | WARNING: Localhost DNS setting (--dns=127.0.0.11) may fail in containers. 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/prune-command-success.force-deleted.golden: -------------------------------------------------------------------------------- 1 | Deleted Images: 2 | deleted: image1 3 | 4 | Total reclaimed space: 1B 5 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/prune-command-success.force-untagged.golden: -------------------------------------------------------------------------------- 1 | Deleted Images: 2 | untagged: image1 3 | 4 | Total reclaimed space: 2B 5 | -------------------------------------------------------------------------------- /components/cli/cli/config/credentials/default_store_windows.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | func defaultCredentialsStore() string { 4 | return "wincred" 5 | } 6 | -------------------------------------------------------------------------------- /components/cli/contrib/completion/powershell/readme.txt: -------------------------------------------------------------------------------- 1 | See https://github.com/matt9ucci/DockerCompletion 2 | or https://github.com/samneirinck/posh-docker 3 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/signal/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with signals across various operating systems -------------------------------------------------------------------------------- /components/cli/vendor/github.com/gogo/googleapis/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gogo/googleapis 2 | 3 | go 1.12 4 | 5 | require github.com/gogo/protobuf v1.2.1 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/jaguilar/vt100/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/jaguilar/vt100 2 | 3 | go 1.12 4 | 5 | require github.com/stretchr/testify v1.3.0 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/session/auth/generate.go: -------------------------------------------------------------------------------- 1 | package auth 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. auth.proto 4 | -------------------------------------------------------------------------------- /components/cli/vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- 1 | module "gopkg.in/yaml.v2" 2 | 3 | require ( 4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 5 | ) 6 | -------------------------------------------------------------------------------- /components/engine/docs/static_files/contributors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/docs/static_files/contributors.png -------------------------------------------------------------------------------- /components/engine/hack/make/.resources-windows/dockerd.rc: -------------------------------------------------------------------------------- 1 | #define DOCKER_NAME "Docker Engine" 2 | 3 | #include "common.rc" 4 | #include "event_messages.rc" 5 | -------------------------------------------------------------------------------- /components/engine/pkg/chrootarchive/init_windows.go: -------------------------------------------------------------------------------- 1 | package chrootarchive // import "github.com/docker/docker/pkg/chrootarchive" 2 | 3 | func init() { 4 | } 5 | -------------------------------------------------------------------------------- /components/engine/pkg/tarsum/testdata/xattr/layer.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/pkg/tarsum/testdata/xattr/layer.tar -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/session/auth/generate.go: -------------------------------------------------------------------------------- 1 | package auth 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. auth.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/tonistiigi/fsutil/types/generate.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | //go:generate protoc --gogoslick_out=. stat.proto wire.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netns/netns_linux_386.go: -------------------------------------------------------------------------------- 1 | // +build linux,386 2 | 3 | package netns 4 | 5 | const ( 6 | SYS_SETNS = 346 7 | ) 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netns/netns_linux_arm.go: -------------------------------------------------------------------------------- 1 | // +build linux,arm 2 | 3 | package netns 4 | 5 | const ( 6 | SYS_SETNS = 375 7 | ) 8 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/utf16.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/cli/command/container/testdata/utf16.env -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/list-command-success.filters.golden: -------------------------------------------------------------------------------- 1 | REPOSITORY TAG IMAGE ID CREATED SIZE 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/list-command-success.simple.golden: -------------------------------------------------------------------------------- 1 | REPOSITORY TAG IMAGE ID CREATED SIZE 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/system/testdata/docker-info-errors.golden: -------------------------------------------------------------------------------- 1 | Client: 2 | ERROR: a client error occurred 3 | 4 | Server: 5 | ERROR: a server error occurred 6 | -------------------------------------------------------------------------------- /components/cli/cli/command/system/testdata/docker-info-errors.json.golden: -------------------------------------------------------------------------------- 1 | {"ServerErrors":["a server error occurred"],"ClientErrors":["a client error occurred"]} 2 | -------------------------------------------------------------------------------- /components/cli/cli/config/credentials/default_store_darwin.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | func defaultCredentialsStore() string { 4 | return "osxkeychain" 5 | } 6 | -------------------------------------------------------------------------------- /components/cli/e2e/testdata/Dockerfile.evil-notary-server: -------------------------------------------------------------------------------- 1 | ARG NOTARY_VERSION=0.5.0 2 | FROM notary:server-${NOTARY_VERSION} 3 | 4 | COPY ./notary-evil/ /fixtures/ 5 | -------------------------------------------------------------------------------- /components/cli/experimental/images/ipvlan_l2_simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/experimental/images/ipvlan_l2_simple.png -------------------------------------------------------------------------------- /components/cli/experimental/images/vlans-deeper-look.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/experimental/images/vlans-deeper-look.png -------------------------------------------------------------------------------- /components/cli/man/src/container/kill.md: -------------------------------------------------------------------------------- 1 | The main process inside each container specified will be sent SIGKILL, 2 | or any signal specified with option --signal. 3 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/solver/pb/generate.go: -------------------------------------------------------------------------------- 1 | package pb 2 | 3 | //go:generate protoc -I=. -I=../../vendor/ --gogofaster_out=. ops.proto 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsenter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !cgo 2 | 3 | package nsenter 4 | 5 | import "C" 6 | -------------------------------------------------------------------------------- /components/engine/daemon/configs_linux.go: -------------------------------------------------------------------------------- 1 | package daemon // import "github.com/docker/docker/daemon" 2 | 3 | func configsSupported() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /components/engine/daemon/secrets_linux.go: -------------------------------------------------------------------------------- 1 | package daemon // import "github.com/docker/docker/daemon" 2 | 3 | func secretsSupported() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /components/engine/docs/contributing/images/copy_url.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/docs/contributing/images/copy_url.png -------------------------------------------------------------------------------- /components/engine/docs/contributing/images/git_bash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/docs/contributing/images/git_bash.png -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/solver/pb/generate.go: -------------------------------------------------------------------------------- 1 | package pb 2 | 3 | //go:generate protoc -I=. -I=../../vendor/ --gogofaster_out=. ops.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netns/netns_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // +build linux,amd64 2 | 3 | package netns 4 | 5 | const ( 6 | SYS_SETNS = 308 7 | ) 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netns/netns_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // +build linux,arm64 2 | 3 | package netns 4 | 5 | const ( 6 | SYS_SETNS = 268 7 | ) 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netns/netns_linux_s390x.go: -------------------------------------------------------------------------------- 1 | // +build linux,s390x 2 | 3 | package netns 4 | 5 | const ( 6 | SYS_SETNS = 339 7 | ) 8 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/utf16be.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/cli/command/container/testdata/utf16be.env -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/list-command-success.match-name.golden: -------------------------------------------------------------------------------- 1 | REPOSITORY TAG IMAGE ID CREATED SIZE 2 | -------------------------------------------------------------------------------- /components/cli/docs/extend/images/authz_additional_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/docs/extend/images/authz_additional_info.png -------------------------------------------------------------------------------- /components/cli/internal/test/builders/doc.go: -------------------------------------------------------------------------------- 1 | // Package builders helps you create struct for your unit test while keeping them expressive. 2 | // 3 | package builders 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/session/filesync/generate.go: -------------------------------------------------------------------------------- 1 | package filesync 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. filesync.proto 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/session/secrets/generate.go: -------------------------------------------------------------------------------- 1 | package secrets 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. secrets.proto 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/session/sshforward/generate.go: -------------------------------------------------------------------------------- 1 | package sshforward 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. ssh.proto 4 | -------------------------------------------------------------------------------- /components/engine/daemon/configs_windows.go: -------------------------------------------------------------------------------- 1 | package daemon // import "github.com/docker/docker/daemon" 2 | 3 | func configsSupported() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /components/engine/daemon/secrets_windows.go: -------------------------------------------------------------------------------- 1 | package daemon // import "github.com/docker/docker/daemon" 2 | 3 | func secretsSupported() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /components/engine/docs/contributing/images/branch-sig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/docs/contributing/images/branch-sig.png -------------------------------------------------------------------------------- /components/engine/docs/contributing/images/fork_docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/docs/contributing/images/fork_docker.png -------------------------------------------------------------------------------- /components/engine/docs/contributing/images/list_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/docs/contributing/images/list_example.png -------------------------------------------------------------------------------- /components/engine/docs/static_files/moby-project-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/docs/static_files/moby-project-logo.png -------------------------------------------------------------------------------- /components/engine/hack/make/.resources-windows/docker.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/hack/make/.resources-windows/docker.ico -------------------------------------------------------------------------------- /components/engine/hack/make/.resources-windows/docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/hack/make/.resources-windows/docker.png -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/drivers/overlay/ostweaks_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package overlay 4 | 5 | func applyOStweaks() {} 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/session/secrets/generate.go: -------------------------------------------------------------------------------- 1 | package secrets 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. secrets.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/session/upload/generate.go: -------------------------------------------------------------------------------- 1 | package upload 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. upload.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsenter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !cgo 2 | 3 | package nsenter 4 | 5 | import "C" 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netns/netns_linux_ppc64le.go: -------------------------------------------------------------------------------- 1 | // +build linux,ppc64le 2 | 3 | package netns 4 | 5 | const ( 6 | SYS_SETNS = 350 7 | ) 8 | -------------------------------------------------------------------------------- /components/cli/cli/connhelper/commandconn/session_windows.go: -------------------------------------------------------------------------------- 1 | package commandconn 2 | 3 | import ( 4 | "os/exec" 5 | ) 6 | 7 | func createSession(cmd *exec.Cmd) { 8 | } 9 | -------------------------------------------------------------------------------- /components/cli/docs/extend/images/authz_connection_hijack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/docs/extend/images/authz_connection_hijack.png -------------------------------------------------------------------------------- /components/cli/man/src/network/disconnect.md: -------------------------------------------------------------------------------- 1 | Disconnects a container from a network. 2 | 3 | ```bash 4 | $ docker network disconnect multi-host-network container1 5 | ``` 6 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/btrfs/dummy_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !cgo 2 | 3 | package btrfs // import "github.com/docker/docker/daemon/graphdriver/btrfs" 4 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/overlay/overlay_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package overlay // import "github.com/docker/docker/daemon/graphdriver/overlay" 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/resolvconf/README.md: -------------------------------------------------------------------------------- 1 | Package resolvconf provides utility code to query and update DNS configuration in /etc/resolv.conf 2 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/session/filesync/generate.go: -------------------------------------------------------------------------------- 1 | package filesync 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. filesync.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/session/sshforward/generate.go: -------------------------------------------------------------------------------- 1 | package sshforward 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. ssh.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/philhofer/fwd/writer_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package fwd 4 | 5 | func unsafestr(s string) []byte { return []byte(s) } 6 | -------------------------------------------------------------------------------- /components/cli/cli/command/engine/activate_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package engine 4 | 5 | var ( 6 | isRoot = func() bool { 7 | return true 8 | } 9 | ) 10 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-list-without-format.golden: -------------------------------------------------------------------------------- 1 | NAME SERVICES ORCHESTRATOR 2 | service-name-foo 1 Swarm 3 | -------------------------------------------------------------------------------- /components/cli/e2e/compose-env.experimental.yaml: -------------------------------------------------------------------------------- 1 | version: '2.1' 2 | 3 | services: 4 | engine: 5 | command: ["--insecure-registry=registry:5000", "--experimental"] 6 | 7 | -------------------------------------------------------------------------------- /components/cli/experimental/images/macvlan-bridge-ipvlan-l2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/experimental/images/macvlan-bridge-ipvlan-l2.png -------------------------------------------------------------------------------- /components/cli/experimental/images/multi_tenant_8021q_vlans.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/cli/experimental/images/multi_tenant_8021q_vlans.png -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/overlay2/overlay_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package overlay2 // import "github.com/docker/docker/daemon/graphdriver/overlay2" 4 | -------------------------------------------------------------------------------- /components/engine/docs/contributing/images/contributor-edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/docker-ce/master/components/engine/docs/contributing/images/contributor-edit.png -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/firewall_others.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package libnetwork 4 | 5 | func (c *controller) arrangeUserFilterRule() { 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opencontainers/runc/libcontainer/configs/namespaces.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | type NamespaceType string 4 | 5 | type Namespaces []Namespace 6 | -------------------------------------------------------------------------------- /components/cli/dockerfiles/Dockerfile.cross: -------------------------------------------------------------------------------- 1 | FROM dockercore/golang-cross:1.12.6 2 | ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 3 | WORKDIR /go/src/github.com/docker/cli 4 | COPY . . 5 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/contrib/syscall-test/exit32.s: -------------------------------------------------------------------------------- 1 | .globl _start 2 | .text 3 | _start: 4 | xorl %eax, %eax 5 | incl %eax 6 | movb $0, %bl 7 | int $0x80 8 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/googleapis/gnostic/compiler/README.md: -------------------------------------------------------------------------------- 1 | # Compiler support code 2 | 3 | This directory contains compiler support code used by Gnostic and Gnostic extensions. -------------------------------------------------------------------------------- /components/cli/vendor/github.com/sirupsen/logrus/terminal_notwindows.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package logrus 4 | 5 | import "io" 6 | 7 | func initTerminal(w io.Writer) { 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/builder/builder-next/worker/gc_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package worker 4 | 5 | func detectDefaultGCCap(root string) int64 { 6 | return defaultCap 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/cmd/dockerd/README.md: -------------------------------------------------------------------------------- 1 | docker.go contains Docker daemon's main function. 2 | 3 | This file provides first line CLI argument parsing and environment variable setting. 4 | -------------------------------------------------------------------------------- /components/engine/internal/test/helper.go: -------------------------------------------------------------------------------- 1 | package test 2 | 3 | // HelperT is a subset of testing.T that implements the Helper function 4 | type HelperT interface { 5 | Helper() 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/ns/init_windows.go: -------------------------------------------------------------------------------- 1 | package ns 2 | 3 | // File is present so that go build ./... is closer to working on Windows from repo root. 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/swarmkit/protobuf/ptypes/doc.go: -------------------------------------------------------------------------------- 1 | // Package ptypes provides utility functions for use with 2 | // gogo/protobuf/ptypes. 3 | package ptypes 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/node/testdata/node-list-format-from-config.golden: -------------------------------------------------------------------------------- 1 | nodeID1: nodeHostname1 Ready/Leader 2 | nodeID2: nodeHostname2 Ready/Reachable 3 | nodeID3: nodeHostname3 Ready/ 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/Azure/go-ansiterm/context.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | type ansiContext struct { 4 | currentChar byte 5 | paramBuffer []byte 6 | interBuffer []byte 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/grpc-ecosystem/grpc-opentracing/python/README.md: -------------------------------------------------------------------------------- 1 | The repo has moved. 2 | ------------------- 3 | 4 | https://github.com/opentracing-contrib/python-grpc 5 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/util/system/seccomp_noseccomp.go: -------------------------------------------------------------------------------- 1 | // +build !seccomp 2 | 3 | package system 4 | 5 | func SeccompSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/hack/ci/z: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Entrypoint for jenkins s390x (z) CI build 3 | set -eu -o pipefail 4 | 5 | hack/test/unit 6 | hack/make.sh dynbinary test-integration 7 | -------------------------------------------------------------------------------- /components/engine/hack/make/cross-platform-dependent: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | if [ ${platform} == "windows/amd64" ]; then 5 | source "${MAKEDIR}/containerutility" 6 | fi 7 | -------------------------------------------------------------------------------- /components/engine/pkg/term/windows/windows_test.go: -------------------------------------------------------------------------------- 1 | // This file is necessary to pass the Docker tests. 2 | 3 | package windowsconsole // import "github.com/docker/docker/pkg/term/windows" 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/Microsoft/go-winio/backuptar/noop.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | // This file only exists to allow go get on non-Windows platforms. 3 | 4 | package backuptar 5 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/osl/neigh_freebsd.go: -------------------------------------------------------------------------------- 1 | package osl 2 | 3 | // NeighOption is a function option type to set neighbor options 4 | type NeighOption func() 5 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/osl/neigh_windows.go: -------------------------------------------------------------------------------- 1 | package osl 2 | 3 | // NeighOption is a function option type to set neighbor options 4 | type NeighOption func() 5 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/grpc-ecosystem/grpc-opentracing/python/README.md: -------------------------------------------------------------------------------- 1 | The repo has moved. 2 | ------------------- 3 | 4 | https://github.com/opentracing-contrib/python-grpc 5 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/cache/contenthash/generate.go: -------------------------------------------------------------------------------- 1 | package contenthash 2 | 3 | //go:generate protoc -I=. -I=../../vendor/ --gogofaster_out=. checksum.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/arm_check_arm.go: -------------------------------------------------------------------------------- 1 | // +build arm 2 | 3 | package binfmt_misc 4 | 5 | func armSupported() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/system/seccomp_noseccomp.go: -------------------------------------------------------------------------------- 1 | // +build !seccomp 2 | 3 | package system 4 | 5 | func SeccompSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opentracing-contrib/go-stdlib/nethttp/doc.go: -------------------------------------------------------------------------------- 1 | // Package nethttp provides OpenTracing instrumentation for the 2 | // net/http package. 3 | package nethttp 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/sirupsen/logrus/terminal_notwindows.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package logrus 4 | 5 | import "io" 6 | 7 | func initTerminal(w io.Writer) { 8 | } 9 | -------------------------------------------------------------------------------- /components/cli/cli/context/docker/constants.go: -------------------------------------------------------------------------------- 1 | package docker 2 | 3 | const ( 4 | // DockerEndpoint is the name of the docker endpoint in a stored context 5 | DockerEndpoint = "docker" 6 | ) 7 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/coreos/etcd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/util/system/seccomp_nolinux.go: -------------------------------------------------------------------------------- 1 | // +build !linux,seccomp 2 | 3 | package system 4 | 5 | func SeccompSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/builder/remotecontext/generate.go: -------------------------------------------------------------------------------- 1 | package remotecontext // import "github.com/docker/docker/builder/remotecontext" 2 | 3 | //go:generate protoc --gogoslick_out=. tarsum.proto 4 | -------------------------------------------------------------------------------- /components/engine/hack/ci/powerpc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Entrypoint for jenkins powerpc CI build 3 | set -eu -o pipefail 4 | 5 | hack/test/unit 6 | hack/make.sh dynbinary test-integration 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/Azure/go-ansiterm/context.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | type ansiContext struct { 4 | currentChar byte 5 | paramBuffer []byte 6 | interBuffer []byte 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/aws/aws-sdk-go/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for Go 2 | Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | Copyright 2014-2015 Stripe, Inc. 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/osl/interface_freebsd.go: -------------------------------------------------------------------------------- 1 | package osl 2 | 3 | // IfaceOption is a function option type to set interface options 4 | type IfaceOption func() 5 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/osl/interface_windows.go: -------------------------------------------------------------------------------- 1 | package osl 2 | 3 | // IfaceOption is a function option type to set interface options 4 | type IfaceOption func() 5 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/resolver_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package libnetwork 4 | 5 | func (r *resolver) setupIPTable() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/godbus/dbus/transport_darwin.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | func (t *unixTransport) SendNullByte() error { 4 | _, err := t.Write([]byte{0}) 5 | return err 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/amd64_check_amd64.go: -------------------------------------------------------------------------------- 1 | // +build amd64 2 | 3 | package binfmt_misc 4 | 5 | func amd64Supported() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/arm64_check_arm64.go: -------------------------------------------------------------------------------- 1 | // +build arm64 2 | 3 | package binfmt_misc 4 | 5 | func arm64Supported() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/system/seccomp_nolinux.go: -------------------------------------------------------------------------------- 1 | // +build !linux,seccomp 2 | 3 | package system 4 | 5 | func SeccompSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/kubernetes/testdata/compose-with-pull-policy.yml: -------------------------------------------------------------------------------- 1 | version: "3.7" 2 | services: 3 | test: 4 | image: "some-image" 5 | x-kubernetes: 6 | pull_policy: "Never" -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/jointoken-manager.golden: -------------------------------------------------------------------------------- 1 | To add a manager to this swarm, run the following command: 2 | 3 | docker swarm join --token manager-join-token 127.0.0.1 4 | 5 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/jointoken-worker.golden: -------------------------------------------------------------------------------- 1 | To add a worker to this swarm, run the following command: 2 | 3 | docker swarm join --token worker-join-token 127.0.0.1 4 | 5 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-list-without-format.golden: -------------------------------------------------------------------------------- 1 | DRIVER VOLUME NAME 2 | local baz 3 | bar foo 4 | local volume 5 | -------------------------------------------------------------------------------- /components/cli/cli/compose/schema/data/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package data contains all the Compose file JSON schemas, starting from v3.0. 3 | */ 4 | 5 | // 6 | // +domain=docker.com 7 | 8 | package data 9 | -------------------------------------------------------------------------------- /components/cli/cli/config/credentials/default_store_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!darwin,!linux 2 | 3 | package credentials 4 | 5 | func defaultCredentialsStore() string { 6 | return "" 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/kubernetes/compose/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +groupName=compose.docker.com 3 | 4 | // Package compose is the internal version of the API. 5 | package compose 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/util/appcontext/appcontext_windows.go: -------------------------------------------------------------------------------- 1 | package appcontext 2 | 3 | import ( 4 | "os" 5 | ) 6 | 7 | var terminationSignals = []os.Signal{os.Interrupt} 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/coreos/etcd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/coreos/pkg/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/arm_check.go: -------------------------------------------------------------------------------- 1 | // +build !arm 2 | 3 | package binfmt_misc 4 | 5 | func armSupported() error { 6 | return check(Binaryarm) 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/tonistiigi/fsutil/copy/hardlink_windows.go: -------------------------------------------------------------------------------- 1 | package fs 2 | 3 | import "os" 4 | 5 | func getLinkInfo(fi os.FileInfo) (uint64, bool) { 6 | return 0, false 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/container-create-oom-kill-without-memory-limit.golden: -------------------------------------------------------------------------------- 1 | WARNING: Disabling the OOM killer on containers without setting a '-m/--memory' limit may be dangerous. 2 | -------------------------------------------------------------------------------- /components/cli/cli/command/network/testdata/network-list.golden: -------------------------------------------------------------------------------- 1 | NETWORK ID NAME DRIVER SCOPE 2 | 123454321 network_1 09.7.01 global 3 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker-credential-helpers/credentials/version.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | // Version holds a string describing the current version 4 | const Version = "0.6.2" 5 | -------------------------------------------------------------------------------- /components/cli/vendor/vbom.ml/util/README.md: -------------------------------------------------------------------------------- 1 | ## util [![GoDoc](https://godoc.org/vbom.ml/util?status.svg)](https://godoc.org/vbom.ml/util) 2 | 3 | import "vbom.ml/util" 4 | 5 | Go utility packages. 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/coreos/go-systemd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2018 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/amd64_check.go: -------------------------------------------------------------------------------- 1 | // +build !amd64 2 | 3 | package binfmt_misc 4 | 5 | func amd64Supported() error { 6 | return check(Binaryamd64) 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/arm64_check.go: -------------------------------------------------------------------------------- 1 | // +build !arm64 2 | 3 | package binfmt_misc 4 | 5 | func arm64Supported() error { 6 | return check(Binaryarm64) 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/riscv64_check_riscv64.go: -------------------------------------------------------------------------------- 1 | // +build riscv64 2 | 3 | package binfmt_misc 4 | 5 | func riscv64Supported() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/cli/command/container/testdata/container-create-oom-kill-true-without-memory-limit.golden: -------------------------------------------------------------------------------- 1 | WARNING: Disabling the OOM killer on containers without setting a '-m/--memory' limit may be dangerous. 2 | -------------------------------------------------------------------------------- /components/cli/cli/connhelper/commandconn/pdeathsig_nolinux.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package commandconn 4 | 5 | import ( 6 | "os/exec" 7 | ) 8 | 9 | func setPdeathsig(cmd *exec.Cmd) { 10 | } 11 | -------------------------------------------------------------------------------- /components/cli/e2e/context/testdata/test-dockerconfig/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "auths": {}, 3 | "HttpHeaders": { 4 | "User-Agent": "Docker-Client/19.09.0-dev (linux)" 5 | }, 6 | "credsStore": "secretservice" 7 | } -------------------------------------------------------------------------------- /components/cli/e2e/image/testdata/pull-with-content-trust-err.golden: -------------------------------------------------------------------------------- 1 | Tagging registry:5000/trust-pull@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d as registry:5000/trust-pull:latest 2 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/api/types/generate.go: -------------------------------------------------------------------------------- 1 | package moby_buildkit_v1_types 2 | 3 | //go:generate protoc -I=. -I=../../vendor/ -I=../../../../../ --gogo_out=plugins=grpc:. worker.proto 4 | -------------------------------------------------------------------------------- /components/engine/contrib/init/systemd/REVIEWERS: -------------------------------------------------------------------------------- 1 | Lokesh Mandvekar (@lsm5) 2 | Brandon Philips (@philips) 3 | Jessie Frazelle (@jfrazelle) 4 | -------------------------------------------------------------------------------- /components/engine/daemon/configs_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package daemon // import "github.com/docker/docker/daemon" 4 | 5 | func configsSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/daemon/logger/journald/journald_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package journald // import "github.com/docker/docker/daemon/logger/journald" 4 | 5 | type journald struct { 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/daemon/secrets_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package daemon // import "github.com/docker/docker/daemon" 4 | 5 | func secretsSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/integration-cli/test_vars_seccomp_test.go: -------------------------------------------------------------------------------- 1 | // +build seccomp 2 | 3 | package main 4 | 5 | const ( 6 | // indicates docker daemon built with seccomp support 7 | supportsSeccomp = true 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/aws/aws-sdk-go/aws/context_1_7.go: -------------------------------------------------------------------------------- 1 | // +build go1.7 2 | 3 | package aws 4 | 5 | import "context" 6 | 7 | var ( 8 | backgroundCtx = context.Background() 9 | ) 10 | -------------------------------------------------------------------------------- /components/cli/cli/command/plugin/testdata/plugin-list-without-format.golden: -------------------------------------------------------------------------------- 1 | ID NAME DESCRIPTION ENABLED 2 | id-foo name-foo desc-bar true 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/kubernetes/testdata/compose-with-pull-secret.yml: -------------------------------------------------------------------------------- 1 | version: "3.7" 2 | services: 3 | test: 4 | image: "some-private-image" 5 | x-kubernetes: 6 | pull_secret: "some-secret" -------------------------------------------------------------------------------- /components/cli/cli/context/kubernetes/constants.go: -------------------------------------------------------------------------------- 1 | package kubernetes 2 | 3 | const ( 4 | // KubernetesEndpoint is the kubernetes endpoint name in a stored context 5 | KubernetesEndpoint = "kubernetes" 6 | ) 7 | -------------------------------------------------------------------------------- /components/cli/e2e/stack/testdata/stack-remove-swarm-success.golden: -------------------------------------------------------------------------------- 1 | Removing service test-stack-remove-swarm_one 2 | Removing service test-stack-remove-swarm_two 3 | Removing network test-stack-remove-swarm_default 4 | -------------------------------------------------------------------------------- /components/engine/integration-cli/test_vars_exec_test.go: -------------------------------------------------------------------------------- 1 | // +build !test_no_exec 2 | 3 | package main 4 | 5 | const ( 6 | // indicates docker daemon tested supports 'docker exec' 7 | supportsExec = true 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/integration-cli/test_vars_noexec_test.go: -------------------------------------------------------------------------------- 1 | // +build test_no_exec 2 | 3 | package main 4 | 5 | const ( 6 | // indicates docker daemon tested supports 'docker exec' 7 | supportsExec = false 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/integration-cli/test_vars_noseccomp_test.go: -------------------------------------------------------------------------------- 1 | // +build !seccomp 2 | 3 | package main 4 | 5 | const ( 6 | // indicates docker daemon built with seccomp support 7 | supportsSeccomp = false 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/hashicorp/go-sockaddr/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package sockaddr is a Go implementation of the UNIX socket family data types and 3 | related helper functions. 4 | */ 5 | package sockaddr 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/api/types/generate.go: -------------------------------------------------------------------------------- 1 | package moby_buildkit_v1_types 2 | 3 | //go:generate protoc -I=. -I=../../vendor/ -I=../../../../../ --gogo_out=plugins=grpc:. worker.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/frontend/dockerfile/instructions/commands_ssh.go: -------------------------------------------------------------------------------- 1 | // +build dfssh 2 | 3 | package instructions 4 | 5 | func isSSHMountsSupported() bool { 6 | return true 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/riscv64_check.go: -------------------------------------------------------------------------------- 1 | // +build !riscv64 2 | 3 | package binfmt_misc 4 | 5 | func riscv64Supported() error { 6 | return check(Binaryriscv64) 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/cli/command/formatter/testdata/disk-usage-context-write-custom.golden: -------------------------------------------------------------------------------- 1 | TYPE ACTIVE 2 | Images 0 3 | Containers 0 4 | Local Volumes 0 5 | Build Cache 0 6 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-list-sort.golden: -------------------------------------------------------------------------------- 1 | NAME SERVICES ORCHESTRATOR 2 | service-name-bar 1 Swarm 3 | service-name-foo 1 Swarm 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/task/testdata/task-context-write-table-custom.golden: -------------------------------------------------------------------------------- 1 | NAME NODE PORTS 2 | foobar_baz foo1 3 | foobar_bar foo2 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-prune-no.golden: -------------------------------------------------------------------------------- 1 | WARNING! This will remove all local volumes not used by at least one container. 2 | Are you sure you want to continue? [y/N] Total reclaimed space: 0B 3 | -------------------------------------------------------------------------------- /components/cli/opts/hosts_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package opts 4 | 5 | // DefaultHost constant defines the default host string used by docker on Windows 6 | var DefaultHost = "npipe://" + DefaultNamedPipe 7 | -------------------------------------------------------------------------------- /components/cli/vendor/cloud.google.com/go/cmd/go-cloud-debug-agent/internal/debug/gosym/pclinetest.h: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | // Empty include file to generate z symbols 4 | 5 | 6 | 7 | 8 | 9 | // EOF 10 | -------------------------------------------------------------------------------- /components/engine/api/common_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package api // import "github.com/docker/docker/api" 4 | 5 | // MinVersion represents Minimum REST API version supported 6 | const MinVersion = "1.12" 7 | -------------------------------------------------------------------------------- /components/engine/builder/remotecontext/tarsum.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package remotecontext; // no namespace because only used internally 4 | 5 | message TarsumBackup { 6 | map Hashes = 1; 7 | } -------------------------------------------------------------------------------- /components/engine/daemon/apparmor_default_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package daemon // import "github.com/docker/docker/daemon" 4 | 5 | func ensureDefaultAppArmorProfile() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_386.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | package pty 5 | 6 | type ( 7 | _C_int int32 8 | _C_uint uint32 9 | ) 10 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_amd64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | package pty 5 | 6 | type ( 7 | _C_int int32 8 | _C_uint uint32 9 | ) 10 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_arm.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | package pty 5 | 6 | type ( 7 | _C_int int32 8 | _C_uint uint32 9 | ) 10 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/frontend/dockerfile/instructions/commands_nossh.go: -------------------------------------------------------------------------------- 1 | // +build !dfssh 2 | 3 | package instructions 4 | 5 | func isSSHMountsSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/volume/mounts/validate_windows_test.go: -------------------------------------------------------------------------------- 1 | package mounts // import "github.com/docker/docker/volume/mounts" 2 | 3 | var ( 4 | testDestinationPath = `c:\foo` 5 | testSourcePath = `c:\foo` 6 | ) 7 | -------------------------------------------------------------------------------- /components/cli/cli/command/engine/testdata/expired-license-display-only.golden: -------------------------------------------------------------------------------- 1 | License: Quantity: 1 Nodes Expiration date: 2018-03-18 Expired! You will no longer receive updates. Please renew at https://docker.com/licensing 2 | -------------------------------------------------------------------------------- /components/cli/cli/compose/loader/example1.env: -------------------------------------------------------------------------------- 1 | # passed through 2 | FOO=foo_from_env_file 3 | 4 | # overridden in example2.env 5 | BAR=bar_from_env_file 6 | 7 | # overridden in full-example.yml 8 | BAZ=baz_from_env_file 9 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/licensing/lib/go-validation/README.md: -------------------------------------------------------------------------------- 1 | # go-validation 2 | 3 | ## Overview 4 | 5 | `go-validation` provides struct validation utilities. See `validation_test.go` for sample usage. 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/api/services/control/generate.go: -------------------------------------------------------------------------------- 1 | package moby_buildkit_v1 2 | 3 | //go:generate protoc -I=. -I=../../../vendor/ -I=../../../../../../ --gogo_out=plugins=grpc:. control.proto 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/util/apicaps/pb/generate.go: -------------------------------------------------------------------------------- 1 | package moby_buildkit_v1_apicaps 2 | 3 | //go:generate protoc -I=. -I=../../../vendor/ -I=../../../../../../ --gogo_out=plugins=grpc:. caps.proto 4 | -------------------------------------------------------------------------------- /components/engine/cmd/dockerd/service_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package main 4 | 5 | import ( 6 | "github.com/spf13/pflag" 7 | ) 8 | 9 | func installServiceFlags(flags *pflag.FlagSet) { 10 | } 11 | -------------------------------------------------------------------------------- /components/engine/hack/make/.integration-daemon-setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | source "$MAKEDIR/.detect-daemon-osarch" 5 | if [ "$DOCKER_ENGINE_GOOS" != "windows" ]; then 6 | bundle .ensure-emptyfs 7 | fi 8 | -------------------------------------------------------------------------------- /components/engine/hack/validate/all: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Run all validation 4 | 5 | export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 | 7 | . ${SCRIPTDIR}/default 8 | . ${SCRIPTDIR}/vendor 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/api/services/control/generate.go: -------------------------------------------------------------------------------- 1 | package moby_buildkit_v1 2 | 3 | //go:generate protoc -I=. -I=../../../vendor/ -I=../../../../../../ --gogo_out=plugins=grpc:. control.proto 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/frontend/dockerfile/instructions/commands_secrets.go: -------------------------------------------------------------------------------- 1 | // +build dfsecrets 2 | 3 | package instructions 4 | 5 | func isSecretMountsSupported() bool { 6 | return true 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/apicaps/pb/generate.go: -------------------------------------------------------------------------------- 1 | package moby_buildkit_v1_apicaps 2 | 3 | //go:generate protoc -I=. -I=../../../vendor/ -I=../../../../../../ --gogo_out=plugins=grpc:. caps.proto 4 | -------------------------------------------------------------------------------- /components/cli/kubernetes/README.md: -------------------------------------------------------------------------------- 1 | # Kubernetes client libraries 2 | 3 | This package (and sub-packages) holds the client libraries for the kubernetes integration in 4 | the docker platform. Most of the code is currently generated. -------------------------------------------------------------------------------- /components/cli/opts/opts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts 4 | 5 | // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080 6 | const DefaultHTTPHost = "localhost" 7 | -------------------------------------------------------------------------------- /components/cli/scripts/validate/shellcheck: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -eo pipefail 3 | 4 | shellcheck contrib/completion/bash/docker 5 | find scripts/ -type f | grep -v scripts/winresources | grep -v '.*.ps1' | xargs shellcheck 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/frontend/gateway/pb/generate.go: -------------------------------------------------------------------------------- 1 | package moby_buildkit_v1_frontend 2 | 3 | //go:generate protoc -I=. -I=../../../vendor/ -I=../../../../../../ --gogo_out=plugins=grpc:. gateway.proto 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/daemon/logger/gcplogs/gcplogging_others.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package gcplogs // import "github.com/docker/docker/daemon/logger/gcplogs" 4 | 5 | func ensureHomeIfIAmStatic() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/pkg/mount/unmount_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package mount // import "github.com/docker/docker/pkg/mount" 4 | 5 | func unmount(target string, flag int) error { 6 | panic("Not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/pkg/plugins/discovery_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package plugins // import "github.com/docker/docker/pkg/plugins" 4 | 5 | var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"} 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_armppc64.go: -------------------------------------------------------------------------------- 1 | // +build arm ppc64 ppc64le 2 | 3 | package bridge 4 | 5 | func ifrDataByte(b byte) uint8 { 6 | return uint8(b) 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_notarm.go: -------------------------------------------------------------------------------- 1 | // +build !arm,!ppc64,!ppc64le 2 | 3 | package bridge 4 | 5 | func ifrDataByte(b byte) int8 { 6 | return int8(b) 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/frontend/dockerfile/instructions/commands_nosecrets.go: -------------------------------------------------------------------------------- 1 | // +build !dfsecrets 2 | 3 | package instructions 4 | 5 | func isSecretMountsSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/prune-command-success.all.golden: -------------------------------------------------------------------------------- 1 | WARNING! This will remove all images without at least one container associated to them. 2 | Are you sure you want to continue? [y/N] Total reclaimed space: 0B 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/init-init.golden: -------------------------------------------------------------------------------- 1 | Swarm initialized: current node (nodeID) is now a manager. 2 | 3 | To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. 4 | 5 | -------------------------------------------------------------------------------- /components/cli/dockerfiles/Dockerfile.shellcheck: -------------------------------------------------------------------------------- 1 | FROM koalaman/shellcheck-alpine:v0.6.0 2 | RUN apk add --no-cache bash make 3 | WORKDIR /go/src/github.com/docker/cli 4 | ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 5 | COPY . . 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/Microsoft/go-winio/syscall.go: -------------------------------------------------------------------------------- 1 | package winio 2 | 3 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go file.go pipe.go sd.go fileinfo.go privilege.go backup.go 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/dgrijalva/jwt-go/doc.go: -------------------------------------------------------------------------------- 1 | // Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html 2 | // 3 | // See README.md for more info. 4 | package jwt 5 | -------------------------------------------------------------------------------- /components/engine/hack/ci/arm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Entrypoint for jenkins arm CI build 3 | set -eu -o pipefail 4 | 5 | hack/test/unit 6 | 7 | hack/make.sh \ 8 | binary-daemon \ 9 | dynbinary \ 10 | test-integration 11 | -------------------------------------------------------------------------------- /components/engine/pkg/mount/mountinfo_windows.go: -------------------------------------------------------------------------------- 1 | package mount // import "github.com/docker/docker/pkg/mount" 2 | 3 | func parseMountTable(f FilterFunc) ([]*Info, error) { 4 | // Do NOT return an error! 5 | return nil, nil 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/frontend/gateway/pb/generate.go: -------------------------------------------------------------------------------- 1 | package moby_buildkit_v1_frontend 2 | 3 | //go:generate protoc -I=. -I=../../../vendor/ -I=../../../../../../ --gogo_out=plugins=grpc:. gateway.proto 4 | -------------------------------------------------------------------------------- /components/cli/e2e/stack/testdata/full-stack.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | one: 5 | image: registry:5000/alpine:3.6 6 | command: top 7 | two: 8 | image: registry:5000/alpine:3.6 9 | command: top 10 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/go-metrics/docs.go: -------------------------------------------------------------------------------- 1 | // This package is small wrapper around the prometheus go client to help enforce convention and best practices for metrics collection in Docker projects. 2 | 3 | package metrics 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/go-metrics/helpers.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | func sumFloat64(vs ...float64) float64 { 4 | var sum float64 5 | for _, v := range vs { 6 | sum += v 7 | } 8 | 9 | return sum 10 | } 11 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/daemon/debugtrap_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin,!freebsd,!windows 2 | 3 | package daemon // import "github.com/docker/docker/daemon" 4 | 5 | func (d *Daemon) setupDumpStackTrap(_ string) { 6 | return 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/hack/make/test-integration-shell: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | bundle .integration-daemon-start 4 | bundle .integration-daemon-setup 5 | 6 | export ABS_DEST 7 | bash +e 8 | 9 | bundle .integration-daemon-stop 10 | -------------------------------------------------------------------------------- /components/engine/integration/doc.go: -------------------------------------------------------------------------------- 1 | // Package integration provides integrations tests for Moby (API). 2 | // These tests require a daemon (dockerd for now) to run. 3 | package integration // import "github.com/docker/docker/integration" 4 | -------------------------------------------------------------------------------- /components/engine/opts/hosts_windows.go: -------------------------------------------------------------------------------- 1 | package opts // import "github.com/docker/docker/opts" 2 | 3 | // DefaultHost constant defines the default host string used by docker on Windows 4 | var DefaultHost = "npipe://" + DefaultNamedPipe 5 | -------------------------------------------------------------------------------- /components/engine/pkg/devicemapper/devmapper_wrapper_dynamic.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo,!static_build 2 | 3 | package devicemapper // import "github.com/docker/docker/pkg/devicemapper" 4 | 5 | // #cgo pkg-config: devmapper 6 | import "C" 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/go-metrics/helpers.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | func sumFloat64(vs ...float64) float64 { 4 | var sum float64 5 | for _, v := range vs { 6 | sum += v 7 | } 8 | 9 | return sum 10 | } 11 | -------------------------------------------------------------------------------- /components/engine/volume/mounts/validate_unix_test.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package mounts // import "github.com/docker/docker/volume/mounts" 4 | 5 | var ( 6 | testDestinationPath = "/foo" 7 | testSourcePath = "/foo" 8 | ) 9 | -------------------------------------------------------------------------------- /components/cli/cli/command/engine/init.go: -------------------------------------------------------------------------------- 1 | package engine 2 | 3 | import ( 4 | clitypes "github.com/docker/cli/types" 5 | ) 6 | 7 | type extendedEngineInitOptions struct { 8 | clitypes.EngineInitOptions 9 | sockPath string 10 | } 11 | -------------------------------------------------------------------------------- /components/cli/cli/connhelper/commandconn/pdeathsig_linux.go: -------------------------------------------------------------------------------- 1 | package commandconn 2 | 3 | import ( 4 | "os/exec" 5 | "syscall" 6 | ) 7 | 8 | func setPdeathsig(cmd *exec.Cmd) { 9 | cmd.SysProcAttr.Pdeathsig = syscall.SIGKILL 10 | } 11 | -------------------------------------------------------------------------------- /components/cli/man/import.go: -------------------------------------------------------------------------------- 1 | // +build never 2 | 3 | package main 4 | 5 | // Not used, but required for generating other man pages. 6 | // Import it here so that the package is included by vndr. 7 | import _ "github.com/cpuguy83/go-md2man" 8 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/go_below_17.go: -------------------------------------------------------------------------------- 1 | //+build !go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /components/cli/vendor/golang.org/x/net/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/net 2 | 3 | require ( 4 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 5 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a 6 | golang.org/x/text v0.3.0 7 | ) 8 | -------------------------------------------------------------------------------- /components/engine/contrib/nnp-test/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM buildpack-deps:jessie 2 | 3 | COPY . /usr/src/ 4 | 5 | WORKDIR /usr/src/ 6 | 7 | RUN gcc -g -Wall -static nnp-test.c -o /usr/bin/nnp-test 8 | 9 | RUN chmod +s /usr/bin/nnp-test 10 | -------------------------------------------------------------------------------- /components/engine/hack/ci/experimental: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Entrypoint for jenkins experimental CI 3 | set -eu -o pipefail 4 | 5 | export DOCKER_EXPERIMENTAL=y 6 | 7 | hack/make.sh \ 8 | binary-daemon \ 9 | test-integration 10 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/go-metrics/docs.go: -------------------------------------------------------------------------------- 1 | // This package is small wrapper around the prometheus go client to help enforce convention and best practices for metrics collection in Docker projects. 2 | 3 | package metrics 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/frontend/dockerfile/dockerfile2llb/defaultshell_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package dockerfile2llb 4 | 5 | func defaultShell() []string { 6 | return []string{"/bin/sh", "-c"} 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/frontend/dockerfile/dockerfile2llb/defaultshell_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package dockerfile2llb 4 | 5 | func defaultShell() []string { 6 | return []string{"cmd", "/S", "/C"} 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/check_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package binfmt_misc 4 | 5 | import ( 6 | "os/exec" 7 | ) 8 | 9 | func withChroot(cmd *exec.Cmd, dir string) { 10 | } 11 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE: -------------------------------------------------------------------------------- 1 | Please do not send pull requests to this docker/docker-ce repository. 2 | 3 | We do, however, take contributions gladly. 4 | 5 | See https://github.com/docker/docker-ce/blob/master/CONTRIBUTING.md 6 | 7 | Thanks! 8 | -------------------------------------------------------------------------------- /components/cli/cli-plugins/manager/suffix_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package manager 4 | 5 | func trimExeSuffix(s string) (string, error) { 6 | return s, nil 7 | } 8 | func addExeSuffix(s string) string { 9 | return s 10 | } 11 | -------------------------------------------------------------------------------- /components/cli/cli/command/engine/activate_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package engine 4 | 5 | import ( 6 | "golang.org/x/sys/unix" 7 | ) 8 | 9 | var ( 10 | isRoot = func() bool { 11 | return unix.Geteuid() == 0 12 | } 13 | ) 14 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/compose-on-kubernetes/api/compose/v1beta1/parsing.go: -------------------------------------------------------------------------------- 1 | package v1beta1 2 | 3 | // MaxComposeVersion is the most recent version of compose file Schema supported in v1beta1 4 | const MaxComposeVersion = "3.5" 5 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/api/common_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package api // import "github.com/docker/docker/api" 4 | 5 | // MinVersion represents Minimum REST API version supported 6 | const MinVersion = "1.12" 7 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /components/engine/contrib/syscall-test/setgid.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | if (setgid(1) == -1) { 7 | perror("setgid"); 8 | return 1; 9 | } 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/contrib/syscall-test/setuid.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | if (setuid(1) == -1) { 7 | perror("setuid"); 8 | return 1; 9 | } 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/register/register_vfs.go: -------------------------------------------------------------------------------- 1 | package register // import "github.com/docker/docker/daemon/graphdriver/register" 2 | 3 | import ( 4 | // register vfs 5 | _ "github.com/docker/docker/daemon/graphdriver/vfs" 6 | ) 7 | -------------------------------------------------------------------------------- /components/engine/hack/make/build-integration-test-binary: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # required by https://github.com/AkihiroSuda/kube-moby-integration 3 | set -e 4 | 5 | source hack/make/.integration-test-helpers 6 | 7 | build_test_suite_binaries 8 | -------------------------------------------------------------------------------- /components/engine/vendor/code.cloudfoundry.org/clock/README.md: -------------------------------------------------------------------------------- 1 | # clock 2 | 3 | **Note**: This repository should be imported as `code.cloudfoundry.org/clock`. 4 | 5 | Provides a `Clock` interface, useful for injecting time dependencies in tests. 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/Microsoft/go-winio/syscall.go: -------------------------------------------------------------------------------- 1 | package winio 2 | 3 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go file.go pipe.go sd.go fileinfo.go privilege.go backup.go hvsock.go 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_arm64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | // +build arm64 5 | 6 | package pty 7 | 8 | type ( 9 | _C_int int32 10 | _C_uint uint32 11 | ) 12 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_ppc64.go: -------------------------------------------------------------------------------- 1 | // +build ppc64 2 | 3 | // Created by cgo -godefs - DO NOT EDIT 4 | // cgo -godefs types.go 5 | 6 | package pty 7 | 8 | type ( 9 | _C_int int32 10 | _C_uint uint32 11 | ) 12 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_ppc64le.go: -------------------------------------------------------------------------------- 1 | // +build ppc64le 2 | 3 | // Created by cgo -godefs - DO NOT EDIT 4 | // cgo -godefs types.go 5 | 6 | package pty 7 | 8 | type ( 9 | _C_int int32 10 | _C_uint uint32 11 | ) 12 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_s390x.go: -------------------------------------------------------------------------------- 1 | // +build s390x 2 | 3 | // Created by cgo -godefs - DO NOT EDIT 4 | // cgo -godefs types.go 5 | 6 | package pty 7 | 8 | type ( 9 | _C_int int32 10 | _C_uint uint32 11 | ) 12 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/containerd/continuity/sysx/README.md: -------------------------------------------------------------------------------- 1 | This package is for internal use only. It is intended to only have 2 | temporary changes before they are upstreamed to golang.org/x/sys/ 3 | (a.k.a. https://github.com/golang/sys). 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /components/cli/vendor/gotest.tools/go.mod: -------------------------------------------------------------------------------- 1 | module gotest.tools 2 | 3 | require ( 4 | github.com/google/go-cmp v0.2.0 5 | github.com/pkg/errors v0.8.0 6 | github.com/spf13/pflag v1.0.3 7 | golang.org/x/tools v0.0.0-20180810170437-e96c4e24768d 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/api/types/swarm/runtime/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc -I . --gogofast_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto 2 | 3 | package runtime // import "github.com/docker/docker/api/types/swarm/runtime" 4 | -------------------------------------------------------------------------------- /components/engine/builder/dockerfile/builder_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package dockerfile // import "github.com/docker/docker/builder/dockerfile" 4 | 5 | func defaultShellForOS(os string) []string { 6 | return []string{"/bin/sh", "-c"} 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/contrib/nnp-test/nnp-test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | printf("EUID=%d\n", geteuid()); 8 | return 0; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/containerd/continuity/sysx/README.md: -------------------------------------------------------------------------------- 1 | This package is for internal use only. It is intended to only have 2 | temporary changes before they are upstreamed to golang.org/x/sys/ 3 | (a.k.a. https://github.com/golang/sys). 4 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /components/cli/cli/command/registry/testdata/search-context-write-stars-table.golden: -------------------------------------------------------------------------------- 1 | NAME DESCRIPTION STARS OFFICIAL AUTOMATED 2 | result1 Official build 5000 [OK] 3 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/jointoken-manager-rotate.golden: -------------------------------------------------------------------------------- 1 | Successfully rotated manager join token. 2 | 3 | To add a manager to this swarm, run the following command: 4 | 5 | docker swarm join --token manager-join-token 127.0.0.1 6 | 7 | -------------------------------------------------------------------------------- /components/cli/internal/pkg/containerized/signal_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package containerized 4 | 5 | import ( 6 | "golang.org/x/sys/unix" 7 | ) 8 | 9 | var ( 10 | // sigTERM maps to unix.SIGTERM 11 | sigTERM = unix.SIGTERM 12 | ) 13 | -------------------------------------------------------------------------------- /components/cli/internal/test/doc.go: -------------------------------------------------------------------------------- 1 | // Package test is a test-only package that can be used by other cli package to write unit test. 2 | // 3 | // It as an internal package and cannot be used outside of github.com/docker/cli package. 4 | // 5 | package test 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/compose-on-kubernetes/api/compose/impersonation/doc.go: -------------------------------------------------------------------------------- 1 | // Package impersonation holds data structures for enabling user impersonation within Conpose for Kubernetes 2 | // +k8s:openapi-gen=true 3 | package impersonation 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/mount/unmount_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package mount // import "github.com/docker/docker/pkg/mount" 4 | 5 | func unmount(target string, flag int) error { 6 | panic("Not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/api/types/plugins/logdriver/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc --gogofast_out=import_path=github.com/docker/docker/api/types/plugins/logdriver:. entry.proto 2 | 3 | package logdriver // import "github.com/docker/docker/api/types/plugins/logdriver" 4 | -------------------------------------------------------------------------------- /components/engine/daemon/keys_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package daemon // import "github.com/docker/docker/daemon" 4 | 5 | // ModifyRootKeyLimit is a noop on unsupported platforms. 6 | func ModifyRootKeyLimit() error { 7 | return nil 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/daemon/logger/journald/read_native.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo,!static_build,journald,!journald_compat 2 | 3 | package journald // import "github.com/docker/docker/daemon/logger/journald" 4 | 5 | // #cgo pkg-config: libsystemd 6 | import "C" 7 | -------------------------------------------------------------------------------- /components/engine/daemon/logger/journald/read_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !cgo static_build !journald 2 | 3 | package journald // import "github.com/docker/docker/daemon/logger/journald" 4 | 5 | func (s *journald) Close() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/pkg/archive/archive_other.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package archive // import "github.com/docker/docker/pkg/archive" 4 | 5 | func getWhiteoutConverter(format WhiteoutFormat, inUserNS bool) tarWhiteoutConverter { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/pkg/archive/copy_windows.go: -------------------------------------------------------------------------------- 1 | package archive // import "github.com/docker/docker/pkg/archive" 2 | 3 | import ( 4 | "path/filepath" 5 | ) 6 | 7 | func normalizePath(path string) string { 8 | return filepath.FromSlash(path) 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/pkg/plugins/pluginrpc-gen/fixtures/otherfixture/spaceship.go: -------------------------------------------------------------------------------- 1 | package otherfixture // import "github.com/docker/docker/pkg/plugins/pluginrpc-gen/fixtures/otherfixture" 2 | 3 | // Spaceship is a fixture for tests 4 | type Spaceship struct{} 5 | -------------------------------------------------------------------------------- /components/engine/pkg/system/lcow_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | // LCOWSupported returns true if Linux containers on Windows are supported. 4 | func LCOWSupported() bool { 5 | return lcowSupported 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/coreos/etcd/pkg/README.md: -------------------------------------------------------------------------------- 1 | pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here 2 | only if it could possibly be moved out into its own repository in the future. 3 | -------------------------------------------------------------------------------- /components/engine/vendor/go.etcd.io/bbolt/boltsync_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!plan9,!linux,!openbsd 2 | 3 | package bbolt 4 | 5 | // fdatasync flushes written data to a file descriptor. 6 | func fdatasync(db *DB) error { 7 | return db.file.Sync() 8 | } 9 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/history-command-success.simple.golden: -------------------------------------------------------------------------------- 1 | IMAGE CREATED CREATED BY SIZE COMMENT 2 | 123456789012 Less than a second ago 0B 3 | -------------------------------------------------------------------------------- /components/cli/cli/context/endpoint.go: -------------------------------------------------------------------------------- 1 | package context 2 | 3 | // EndpointMetaBase contains fields we expect to be common for most context endpoints 4 | type EndpointMetaBase struct { 5 | Host string `json:",omitempty"` 6 | SkipTLSVerify bool 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/mount/mountinfo_windows.go: -------------------------------------------------------------------------------- 1 | package mount // import "github.com/docker/docker/pkg/mount" 2 | 3 | func parseMountTable(f FilterFunc) ([]*Info, error) { 4 | // Do NOT return an error! 5 | return nil, nil 6 | } 7 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/licensing/lib/go-clientlib/README.md: -------------------------------------------------------------------------------- 1 | # go-clientlib 2 | 3 | ## Overview 4 | 5 | `go-clientlib` is used to reduce much of the boilerplate needed for sending and receiving http requests and responses in client libraries. 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/client/exporters.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | const ( 4 | ExporterImage = "image" 5 | ExporterLocal = "local" 6 | ExporterTar = "tar" 7 | ExporterOCI = "oci" 8 | ExporterDocker = "docker" 9 | ) 10 | -------------------------------------------------------------------------------- /components/engine/hack/make/binary: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | rm -rf "$DEST" 4 | 5 | # This script exists as backwards compatibility for CI 6 | ( 7 | DEST="${DEST}-daemon" 8 | ABS_DEST="${ABS_DEST}-daemon" 9 | . hack/make/binary-daemon 10 | ) 11 | -------------------------------------------------------------------------------- /components/engine/pkg/dmesg/dmesg_linux_test.go: -------------------------------------------------------------------------------- 1 | package dmesg // import "github.com/docker/docker/pkg/dmesg" 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestDmesg(t *testing.T) { 8 | t.Logf("dmesg output follows:\n%v", string(Dmesg(512))) 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/pkg/sysinfo/sysinfo_windows.go: -------------------------------------------------------------------------------- 1 | package sysinfo // import "github.com/docker/docker/pkg/sysinfo" 2 | 3 | // New returns an empty SysInfo for windows for now. 4 | func New(quiet bool) *SysInfo { 5 | sysInfo := &SysInfo{} 6 | return sysInfo 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/client/exporters.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | const ( 4 | ExporterImage = "image" 5 | ExporterLocal = "local" 6 | ExporterTar = "tar" 7 | ExporterOCI = "oci" 8 | ExporterDocker = "docker" 9 | ) 10 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/build/context_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package build 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func getContextRoot(srcPath string) (string, error) { 10 | return filepath.Join(srcPath, "."), nil 11 | } 12 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-prune-yes.golden: -------------------------------------------------------------------------------- 1 | WARNING! This will remove all local volumes not used by at least one container. 2 | Are you sure you want to continue? [y/N] Deleted Volumes: 3 | foo 4 | bar 5 | baz 6 | 7 | Total reclaimed space: 2kB 8 | -------------------------------------------------------------------------------- /components/cli/cli/config/configfile/testdata/plugin-config.golden: -------------------------------------------------------------------------------- 1 | { 2 | "auths": {}, 3 | "plugins": { 4 | "plugin1": { 5 | "data1": "some string", 6 | "data2": "42" 7 | }, 8 | "plugin2": { 9 | "data3": "some other string" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/reflect2/go_above_17.go: -------------------------------------------------------------------------------- 1 | //+build go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | //go:linkname resolveTypeOff reflect.resolveTypeOff 8 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 9 | -------------------------------------------------------------------------------- /components/cli/vendor/vbom.ml/util/sortorder/README.md: -------------------------------------------------------------------------------- 1 | ## sortorder [![GoDoc](https://godoc.org/vbom.ml/util/sortorder?status.svg)](https://godoc.org/vbom.ml/util/sortorder) 2 | 3 | import "vbom.ml/util/sortorder" 4 | 5 | Sort orders and comparison functions. 6 | -------------------------------------------------------------------------------- /components/engine/hack/make/dynbinary: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | # This script exists as backwards compatibility for CI 5 | ( 6 | 7 | DEST="${DEST}-daemon" 8 | ABS_DEST="${ABS_DEST}-daemon" 9 | . hack/make/dynbinary-daemon 10 | ) 11 | -------------------------------------------------------------------------------- /components/engine/pkg/plugins/discovery_windows.go: -------------------------------------------------------------------------------- 1 | package plugins // import "github.com/docker/docker/pkg/plugins" 2 | 3 | import ( 4 | "os" 5 | "path/filepath" 6 | ) 7 | 8 | var specsPaths = []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")} 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/osl/kernel/knobs_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package kernel 4 | 5 | // ApplyOSTweaks applies the configuration values passed as arguments 6 | func ApplyOSTweaks(osConfig map[string]*OSValue) { 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/fluent/fluent-logger-golang/fluent/test_message.go: -------------------------------------------------------------------------------- 1 | package fluent 2 | 3 | //go:generate msgp 4 | type TestMessage struct { 5 | Foo string `msg:"foo" json:"foo,omitempty"` 6 | Hoge string `msg:"hoge" json:"hoge,omitempty"` 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/opts/hosts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts 4 | 5 | import "fmt" 6 | 7 | // DefaultHost constant defines the default host string used by docker on other hosts than Windows 8 | var DefaultHost = fmt.Sprintf("unix://%s", DefaultUnixSocket) 9 | -------------------------------------------------------------------------------- /components/cli/scripts/test/e2e/wait-on-daemon: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -eu -o pipefail 3 | 4 | echo "Waiting for docker daemon to become available at $DOCKER_HOST" 5 | while ! docker version > /dev/null; do 6 | sleep 0.3 7 | done 8 | 9 | docker version 10 | -------------------------------------------------------------------------------- /components/engine/contrib/httpserver/server.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | ) 7 | 8 | func main() { 9 | fs := http.FileServer(http.Dir("/static")) 10 | http.Handle("/", fs) 11 | log.Panic(http.ListenAndServe(":80", nil)) 12 | } 13 | -------------------------------------------------------------------------------- /components/engine/daemon/logger/journald/read_native_compat.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo,!static_build,journald,journald_compat 2 | 3 | package journald // import "github.com/docker/docker/daemon/logger/journald" 4 | 5 | // #cgo pkg-config: libsystemd-journal 6 | import "C" 7 | -------------------------------------------------------------------------------- /components/engine/hack/make/test-integration-cli: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | echo "WARNING: test-integration-cli is DEPRECATED. Use test-integration." >&2 4 | 5 | # TODO: remove this and exit 1 once CI has changed to use test-integration 6 | bundle test-integration 7 | -------------------------------------------------------------------------------- /components/engine/opts/opts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts // import "github.com/docker/docker/opts" 4 | 5 | // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080 6 | const DefaultHTTPHost = "localhost" 7 | -------------------------------------------------------------------------------- /components/engine/pkg/system/lcow_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | // LCOWSupported returns true if Linux containers on Windows are supported. 6 | func LCOWSupported() bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/options.go: -------------------------------------------------------------------------------- 1 | package v4 2 | 3 | // WithUnsignedPayload will enable and set the UnsignedPayload field to 4 | // true of the signer. 5 | func WithUnsignedPayload(v4 *Signer) { 6 | v4.UnsignedPayload = true 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_windows.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | // TODO Windows: This can ultimately be entirely factored out on Windows as 4 | // cgroups are a Unix-specific construct. 5 | type Cgroup struct { 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package nl 4 | 5 | import "encoding/binary" 6 | 7 | var SupportedNlFamilies = []int{} 8 | 9 | func NativeEndian() binary.ByteOrder { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/vendor/go.etcd.io/bbolt/bolt_linux.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | // fdatasync flushes written data to a file descriptor. 8 | func fdatasync(db *DB) error { 9 | return syscall.Fdatasync(int(db.file.Fd())) 10 | } 11 | -------------------------------------------------------------------------------- /components/cli/cli/command/formatter/testdata/container-context-write-special-headers.golden: -------------------------------------------------------------------------------- 1 | CONTAINER ID IMAGE CREATED/STATUS/ PORTS .NAMES STATUS 2 | conta "ubuntu" 24 hours ago//.FOOBAR_BAZ 3 | conta "ubuntu" 24 hours ago//.FOOBAR_BAR 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/image/testdata/history-command-success.non-human.golden: -------------------------------------------------------------------------------- 1 | IMAGE CREATED AT CREATED BY SIZE COMMENT 2 | abcdef 2017-01-01T12:00:03Z rose 0 new history item! 3 | -------------------------------------------------------------------------------- /components/cli/e2e/compose-env.connhelper-ssh.yaml: -------------------------------------------------------------------------------- 1 | version: '2.1' 2 | 3 | services: 4 | engine: 5 | build: 6 | context: ./testdata 7 | dockerfile: Dockerfile.connhelper-ssh 8 | environment: 9 | - TEST_CONNHELPER_SSH_ID_RSA_PUB 10 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/contrib/syscall-test/setgid.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | if (setgid(1) == -1) { 7 | perror("setgid"); 8 | return 1; 9 | } 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/contrib/syscall-test/setuid.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | if (setuid(1) == -1) { 7 | perror("setuid"); 8 | return 1; 9 | } 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/armon/go-metrics/const_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package metrics 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | const ( 10 | // DefaultSignal is used with DefaultInmemSignal 11 | DefaultSignal = syscall.SIGUSR1 12 | ) 13 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/pty_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin,!freebsd,!dragonfly,!openbsd 2 | 3 | package pty 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func open() (pty, tty *os.File, err error) { 10 | return nil, nil, ErrUnsupported 11 | } 12 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-list-sort-natural.golden: -------------------------------------------------------------------------------- 1 | NAME SERVICES ORCHESTRATOR 2 | service-name-1-foo 1 Swarm 3 | service-name-2-foo 1 Swarm 4 | service-name-10-foo 1 Swarm 5 | -------------------------------------------------------------------------------- /components/cli/internal/pkg/containerized/signal_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package containerized 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | var ( 10 | // sigTERM all signals are ignored by containerd kill windows 11 | sigTERM = syscall.Signal(0) 12 | ) 13 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/api/types/swarm/runtime/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc -I . --gogofast_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto 2 | 3 | package runtime // import "github.com/docker/docker/api/types/swarm/runtime" 4 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/contrib/nnp-test/nnp-test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | printf("EUID=%d\n", geteuid()); 8 | return 0; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/archive/archive_other.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package archive // import "github.com/docker/docker/pkg/archive" 4 | 5 | func getWhiteoutConverter(format WhiteoutFormat, inUserNS bool) tarWhiteoutConverter { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/moby/buildkit/util/appcontext/appcontext_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package appcontext 4 | 5 | import ( 6 | "os" 7 | 8 | "golang.org/x/sys/unix" 9 | ) 10 | 11 | var terminationSignals = []os.Signal{unix.SIGTERM, unix.SIGINT} 12 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/opencontainers/runc/libcontainer/system/sysconfig.go: -------------------------------------------------------------------------------- 1 | // +build cgo,linux 2 | 3 | package system 4 | 5 | /* 6 | #include 7 | */ 8 | import "C" 9 | 10 | func GetClockTicks() int { 11 | return int(C.sysconf(C._SC_CLK_TCK)) 12 | } 13 | -------------------------------------------------------------------------------- /components/engine/pkg/archive/copy_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package archive // import "github.com/docker/docker/pkg/archive" 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func normalizePath(path string) string { 10 | return filepath.ToSlash(path) 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/pkg/fileutils/fileutils_windows.go: -------------------------------------------------------------------------------- 1 | package fileutils // import "github.com/docker/docker/pkg/fileutils" 2 | 3 | // GetTotalUsedFds Returns the number of used File Descriptors. Not supported 4 | // on Windows. 5 | func GetTotalUsedFds() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/pkg/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd freebsd,!cgo 2 | 3 | package mount // import "github.com/docker/docker/pkg/mount" 4 | 5 | func mount(device, target, mType string, flag uintptr, data string) error { 6 | panic("Not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /components.conf: -------------------------------------------------------------------------------- 1 | [component "packaging"] 2 | url = git@github.com:docker/docker-ce-packaging 3 | branch = master 4 | [component "engine"] 5 | url = git@github.com:docker/engine 6 | branch = master 7 | [component "cli"] 8 | url = git@github.com:docker/cli 9 | branch = master 10 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/archive/copy_windows.go: -------------------------------------------------------------------------------- 1 | package archive // import "github.com/docker/docker/pkg/archive" 2 | 3 | import ( 4 | "path/filepath" 5 | ) 6 | 7 | func normalizePath(path string) string { 8 | return filepath.FromSlash(path) 9 | } 10 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/system/lcow_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | // LCOWSupported returns true if Linux containers on Windows are supported. 4 | func LCOWSupported() bool { 5 | return lcowSupported 6 | } 7 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_mipsx.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | // +build linux 5 | // +build mips mipsle mips64 mips64le 6 | 7 | package pty 8 | 9 | type ( 10 | _C_int int32 11 | _C_uint uint32 12 | ) 13 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opencontainers/runc/libcontainer/system/sysconfig.go: -------------------------------------------------------------------------------- 1 | // +build cgo,linux 2 | 3 | package system 4 | 5 | /* 6 | #include 7 | */ 8 | import "C" 9 | 10 | func GetClockTicks() int { 11 | return int(C.sysconf(C._SC_CLK_TCK)) 12 | } 13 | -------------------------------------------------------------------------------- /components/cli/cli/command/config/testdata/config-inspect-pretty.simple.golden: -------------------------------------------------------------------------------- 1 | ID: configID 2 | Name: configName 3 | Labels: 4 | - lbl1=value1 5 | Created at: 0001-01-01 00:00:00 +0000 utc 6 | Updated at: 0001-01-01 00:00:00 +0000 utc 7 | Data: 8 | payload here 9 | -------------------------------------------------------------------------------- /components/cli/man/src/container/wait.md: -------------------------------------------------------------------------------- 1 | Block until a container stops, then print its exit code. 2 | 3 | # EXAMPLES 4 | 5 | $ docker run -d fedora sleep 99 6 | 079b83f558a2bc52ecad6b2a5de13622d584e6bb1aea058c11b36511e85e7622 7 | $ docker container wait 079b83f558a2bc 8 | 0 9 | -------------------------------------------------------------------------------- /components/engine/api/server/router/grpc/backend.go: -------------------------------------------------------------------------------- 1 | package grpc // import "github.com/docker/docker/api/server/router/grpc" 2 | 3 | import "google.golang.org/grpc" 4 | 5 | // Backend abstracts a registerable GRPC service. 6 | type Backend interface { 7 | RegisterGRPC(*grpc.Server) 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/contrib/README.md: -------------------------------------------------------------------------------- 1 | The `contrib` directory contains scripts, images, and other helpful things 2 | which are not part of the core docker distribution. Please note that they 3 | could be out of date, since they do not receive the same attention as the 4 | rest of the repository. 5 | -------------------------------------------------------------------------------- /components/engine/contrib/editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | insert_final_newline = true 6 | charset = utf-8 7 | indent_style = tab 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | indent_size = 2 13 | indent_style = space 14 | -------------------------------------------------------------------------------- /components/engine/contrib/init/sysvinit-redhat/docker.sysconfig: -------------------------------------------------------------------------------- 1 | # /etc/sysconfig/docker 2 | # 3 | # Other arguments to pass to the docker daemon process 4 | # These will be parsed by the sysv initscript and appended 5 | # to the arguments list passed to docker daemon 6 | 7 | other_args="" 8 | -------------------------------------------------------------------------------- /components/engine/daemon/container_windows.go: -------------------------------------------------------------------------------- 1 | package daemon // import "github.com/docker/docker/daemon" 2 | 3 | import ( 4 | "github.com/docker/docker/container" 5 | ) 6 | 7 | func (daemon *Daemon) saveApparmorConfig(container *container.Container) error { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/internal/test/request/npipe.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package request 4 | 5 | import ( 6 | "net" 7 | "time" 8 | ) 9 | 10 | func npipeDial(path string, timeout time.Duration) (net.Conn, error) { 11 | panic("npipe protocol only supported on Windows") 12 | } 13 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netlink/route_unspecified.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package netlink 4 | 5 | func (r *Route) ListFlags() []string { 6 | return []string{} 7 | } 8 | 9 | func (n *NexthopInfo) ListFlags() []string { 10 | return []string{} 11 | } 12 | -------------------------------------------------------------------------------- /components/cli/.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # GitHub code owners 2 | # See https://github.com/blog/2392-introducing-code-owners 3 | 4 | cli/command/stack/** @silvin-lubecki 5 | contrib/completion/bash/** @albers 6 | contrib/completion/zsh/** @sdurrheimer 7 | docs/** @thaJeztah 8 | -------------------------------------------------------------------------------- /components/cli/cli/config/configfile/testdata/plugin-config-2.golden: -------------------------------------------------------------------------------- 1 | { 2 | "auths": {}, 3 | "plugins": { 4 | "plugin1": { 5 | "data1": "some replacement string", 6 | "data3": "some additional string" 7 | }, 8 | "plugin3": { 9 | "data5": "a new plugin" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /components/cli/dockerfiles/Dockerfile.binary-native: -------------------------------------------------------------------------------- 1 | FROM golang:1.12.6-alpine 2 | 3 | RUN apk add -U git bash coreutils gcc musl-dev 4 | 5 | ENV CGO_ENABLED=0 \ 6 | DISABLE_WARN_OUTSIDE_CONTAINER=1 7 | WORKDIR /go/src/github.com/docker/cli 8 | CMD ./scripts/build/binary 9 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/googleapis/gnostic/extensions/README.md: -------------------------------------------------------------------------------- 1 | # Extensions 2 | 3 | This directory contains support code for building Gnostic extensions and associated examples. 4 | 5 | Extensions are used to compile vendor or specification extensions into protocol buffer structures. 6 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/theupdateframework/notary/const_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package notary 4 | 5 | import "os" 6 | 7 | // NotarySupportedSignals does not contain any signals, because SIGUSR1/2 are not supported on windows 8 | var NotarySupportedSignals = []os.Signal{} 9 | -------------------------------------------------------------------------------- /components/engine/daemon/cluster/listen_addr_others.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package cluster // import "github.com/docker/docker/daemon/cluster" 4 | 5 | import "net" 6 | 7 | func (c *Cluster) resolveSystemAddr() (net.IP, error) { 8 | return c.resolveSystemAddrViaSubnetCheck() 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/pkg/sysinfo/numcpu.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package sysinfo // import "github.com/docker/docker/pkg/sysinfo" 4 | 5 | import ( 6 | "runtime" 7 | ) 8 | 9 | // NumCPU returns the number of CPUs 10 | func NumCPU() int { 11 | return runtime.NumCPU() 12 | } 13 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/jmespath/go-jmespath/README.md: -------------------------------------------------------------------------------- 1 | # go-jmespath - A JMESPath implementation in Go 2 | 3 | [![Build Status](https://img.shields.io/travis/jmespath/go-jmespath.svg)](https://travis-ci.org/jmespath/go-jmespath) 4 | 5 | 6 | 7 | See http://jmespath.org for more info. 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_freebsd_386.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_freebsd.go 3 | 4 | package pty 5 | 6 | const ( 7 | _C_SPECNAMELEN = 0x3f 8 | ) 9 | 10 | type fiodgnameArg struct { 11 | Len int32 12 | Buf *byte 13 | } 14 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_freebsd_arm.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_freebsd.go 3 | 4 | package pty 5 | 6 | const ( 7 | _C_SPECNAMELEN = 0x3f 8 | ) 9 | 10 | type fiodgnameArg struct { 11 | Len int32 12 | Buf *byte 13 | } 14 | -------------------------------------------------------------------------------- /components/packaging/systemd/docker.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Docker Socket for the API 3 | PartOf=docker.service 4 | 5 | [Socket] 6 | ListenStream=/var/run/docker.sock 7 | SocketMode=0660 8 | SocketUser=root 9 | SocketGroup=docker 10 | 11 | [Install] 12 | WantedBy=sockets.target 13 | -------------------------------------------------------------------------------- /components/cli/cli-plugins/manager/manager_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package manager 4 | 5 | var defaultSystemPluginDirs = []string{ 6 | "/usr/local/lib/docker/cli-plugins", "/usr/local/libexec/docker/cli-plugins", 7 | "/usr/lib/docker/cli-plugins", "/usr/libexec/docker/cli-plugins", 8 | } 9 | -------------------------------------------------------------------------------- /components/cli/cli/config/credentials/default_store_linux.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | import ( 4 | "os/exec" 5 | ) 6 | 7 | func defaultCredentialsStore() string { 8 | if _, err := exec.LookPath("pass"); err == nil { 9 | return "pass" 10 | } 11 | 12 | return "secretservice" 13 | } 14 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/system/lcow_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | // LCOWSupported returns true if Linux containers on Windows are supported. 6 | func LCOWSupported() bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsenter.go: -------------------------------------------------------------------------------- 1 | // +build linux,!gccgo 2 | 3 | package nsenter 4 | 5 | /* 6 | #cgo CFLAGS: -Wall 7 | extern void nsexec(); 8 | void __attribute__((constructor)) init(void) { 9 | nsexec(); 10 | } 11 | */ 12 | import "C" 13 | -------------------------------------------------------------------------------- /components/engine/builder/dockerfile/builder_windows.go: -------------------------------------------------------------------------------- 1 | package dockerfile // import "github.com/docker/docker/builder/dockerfile" 2 | 3 | func defaultShellForOS(os string) []string { 4 | if os == "linux" { 5 | return []string{"/bin/sh", "-c"} 6 | } 7 | return []string{"cmd", "/S", "/C"} 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/daemon/cluster/executor/container/validate_unix_test.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package container // import "github.com/docker/docker/daemon/cluster/executor/container" 4 | 5 | const ( 6 | testAbsPath = "/foo" 7 | testAbsNonExistent = "/some-non-existing-host-path/" 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/internal/test/request/npipe_windows.go: -------------------------------------------------------------------------------- 1 | package request 2 | 3 | import ( 4 | "net" 5 | "time" 6 | 7 | "github.com/Microsoft/go-winio" 8 | ) 9 | 10 | func npipeDial(path string, timeout time.Duration) (net.Conn, error) { 11 | return winio.DialPipe(path, &timeout) 12 | } 13 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsenter.go: -------------------------------------------------------------------------------- 1 | // +build linux,!gccgo 2 | 3 | package nsenter 4 | 5 | /* 6 | #cgo CFLAGS: -Wall 7 | extern void nsexec(); 8 | void __attribute__((constructor)) init(void) { 9 | nsexec(); 10 | } 11 | */ 12 | import "C" 13 | -------------------------------------------------------------------------------- /components/cli/cli/command/config/testdata/config-list-with-filter.golden: -------------------------------------------------------------------------------- 1 | ID NAME CREATED UPDATED 2 | ID-bar bar 2 hours ago About an hour ago 3 | ID-foo foo 2 hours ago About an hour ago 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/secret/testdata/secret-inspect-pretty.simple.golden: -------------------------------------------------------------------------------- 1 | ID: secretID 2 | Name: secretName 3 | Labels: 4 | - lbl1=value1 5 | Driver: driver 6 | Created at: 0001-01-01 00:00:00 +0000 utc 7 | Updated at: 0001-01-01 00:00:00 +0000 utc 8 | -------------------------------------------------------------------------------- /components/cli/cli/command/service/testdata/service-context-write-raw.golden: -------------------------------------------------------------------------------- 1 | id: id_baz 2 | name: baz 3 | mode: global 4 | replicas: 2/4 5 | image: 6 | ports: *:80->8080/tcp 7 | 8 | id: id_bar 9 | name: bar 10 | mode: replicated 11 | replicas: 2/4 12 | image: 13 | ports: *:80->8080/tcp 14 | 15 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/testdata/stack-services-without-format.golden: -------------------------------------------------------------------------------- 1 | ID NAME MODE REPLICAS IMAGE PORTS 2 | id-foo name-foo replicated 0/2 busybox:latest *:30000->3232/tcp 3 | -------------------------------------------------------------------------------- /components/cli/cli/version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | // Default build-time variable. 4 | // These values are overridden via ldflags 5 | var ( 6 | PlatformName = "" 7 | Version = "unknown-version" 8 | GitCommit = "unknown-commit" 9 | BuildTime = "unknown-buildtime" 10 | ) 11 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd freebsd,!cgo 2 | 3 | package mount // import "github.com/docker/docker/pkg/mount" 4 | 5 | func mount(device, target, mType string, flag uintptr, data string) error { 6 | panic("Not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/theupdateframework/notary/tuf/README.md: -------------------------------------------------------------------------------- 1 | ## Credits 2 | 3 | This implementation was originally forked from [flynn/go-tuf](https://github.com/flynn/go-tuf) 4 | 5 | This implementation retains the same 3 Clause BSD license present on 6 | the original flynn implementation. 7 | -------------------------------------------------------------------------------- /components/engine/pkg/sysinfo/sysinfo_unix.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package sysinfo // import "github.com/docker/docker/pkg/sysinfo" 4 | 5 | // New returns an empty SysInfo for non linux for now. 6 | func New(quiet bool) *SysInfo { 7 | sysInfo := &SysInfo{} 8 | return sysInfo 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/swarmkit/identity/combined_id.go: -------------------------------------------------------------------------------- 1 | package identity 2 | 3 | import "fmt" 4 | 5 | // CombineTwoIDs combines the given IDs into a new ID, e.g. a secret and a task ID. 6 | func CombineTwoIDs(id1, id2 string) string { 7 | return fmt.Sprintf("%s.%s", id1, id2) 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/godbus/dbus/homedir_dynamic.go: -------------------------------------------------------------------------------- 1 | // +build !static_build 2 | 3 | package dbus 4 | 5 | import ( 6 | "os/user" 7 | ) 8 | 9 | func lookupHomeDir() string { 10 | u, err := user.Current() 11 | if err != nil { 12 | return "/" 13 | } 14 | return u.HomeDir 15 | } 16 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ioctl.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package pty 4 | 5 | import "syscall" 6 | 7 | func ioctl(fd, cmd, ptr uintptr) error { 8 | _, _, e := syscall.Syscall(syscall.SYS_IOCTL, fd, cmd, ptr) 9 | if e != 0 { 10 | return e 11 | } 12 | return nil 13 | } 14 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/archive/copy_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package archive // import "github.com/docker/docker/pkg/archive" 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func normalizePath(path string) string { 10 | return filepath.ToSlash(path) 11 | } 12 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/fileutils/fileutils_windows.go: -------------------------------------------------------------------------------- 1 | package fileutils // import "github.com/docker/docker/pkg/fileutils" 2 | 3 | // GetTotalUsedFds Returns the number of used File Descriptors. Not supported 4 | // on Windows. 5 | func GetTotalUsedFds() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /components/cli/vendor/golang.org/x/sys/cpu/cpu_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 32 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /components/cli/vendor/vbom.ml/util/sortorder/doc.go: -------------------------------------------------------------------------------- 1 | // Package sortorder implements sort orders and comparison functions. 2 | // 3 | // Currently, it only implements so-called "natural order", where integers 4 | // embedded in strings are compared by value. 5 | package sortorder // import "vbom.ml/util/sortorder" 6 | -------------------------------------------------------------------------------- /components/engine/daemon/daemon_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd,!windows 2 | 3 | package daemon // import "github.com/docker/docker/daemon" 4 | import "github.com/docker/docker/daemon/config" 5 | 6 | const platformSupported = false 7 | 8 | func setupResolvConf(config *config.Config) { 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/vfs/copy_linux.go: -------------------------------------------------------------------------------- 1 | package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs" 2 | 3 | import "github.com/docker/docker/daemon/graphdriver/copy" 4 | 5 | func dirCopy(srcDir, dstDir string) error { 6 | return copy.DirCopy(srcDir, dstDir, copy.Content, false) 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/daemon/selinux_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package daemon // import "github.com/docker/docker/daemon" 4 | 5 | func selinuxSetDisabled() { 6 | } 7 | 8 | func selinuxFreeLxcContexts(label string) { 9 | } 10 | 11 | func selinuxEnabled() bool { 12 | return false 13 | } 14 | -------------------------------------------------------------------------------- /components/engine/layer/ro_layer_windows.go: -------------------------------------------------------------------------------- 1 | package layer // import "github.com/docker/docker/layer" 2 | 3 | import "github.com/docker/distribution" 4 | 5 | var _ distribution.Describable = &roLayer{} 6 | 7 | func (rl *roLayer) Descriptor() distribution.Descriptor { 8 | return rl.descriptor 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/pkg/system/umask_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | // Umask is not supported on the windows platform. 4 | func Umask(newmask int) (oldmask int, err error) { 5 | // should not be called on cli code path 6 | return 0, ErrNotSupportedPlatform 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_openbsd_386.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_openbsd.go 3 | 4 | package pty 5 | 6 | type ptmget struct { 7 | Cfd int32 8 | Sfd int32 9 | Cn [16]int8 10 | Sn [16]int8 11 | } 12 | 13 | var ioctl_PTMGET = 0x40287401 14 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/ugorji/go/codec/goversion_vendor_gte_go17.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.7 5 | 6 | package codec 7 | 8 | const genCheckVendor = true 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/ugorji/go/codec/goversion_vendor_lt_go15.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build !go1.5 5 | 6 | package codec 7 | 8 | var genCheckVendor = false 9 | -------------------------------------------------------------------------------- /components/engine/vendor/golang.org/x/net/internal/socket/sys_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /components/engine/vendor/golang.org/x/sys/cpu/cpu_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 32 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/register/register_aufs.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_aufs,linux 2 | 3 | package register // import "github.com/docker/docker/daemon/graphdriver/register" 4 | 5 | import ( 6 | // register the aufs graphdriver 7 | _ "github.com/docker/docker/daemon/graphdriver/aufs" 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/register/register_btrfs.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_btrfs,linux 2 | 3 | package register // import "github.com/docker/docker/daemon/graphdriver/register" 4 | 5 | import ( 6 | // register the btrfs graphdriver 7 | _ "github.com/docker/docker/daemon/graphdriver/btrfs" 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/layer/layer_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux freebsd darwin openbsd 2 | 3 | package layer // import "github.com/docker/docker/layer" 4 | 5 | import "github.com/docker/docker/pkg/stringid" 6 | 7 | func (ls *layerStore) mountID(name string) string { 8 | return stringid.GenerateRandomID() 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/opts/hosts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts // import "github.com/docker/docker/opts" 4 | 5 | import "fmt" 6 | 7 | // DefaultHost constant defines the default host string used by docker on other hosts than Windows 8 | var DefaultHost = fmt.Sprintf("unix://%s", DefaultUnixSocket) 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/aws/aws-sdk-go/aws/request/connection_reset_error_other.go: -------------------------------------------------------------------------------- 1 | // +build appengine plan9 2 | 3 | package request 4 | 5 | import ( 6 | "strings" 7 | ) 8 | 9 | func isErrConnectionReset(err error) bool { 10 | return strings.Contains(err.Error(), "connection reset") 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_openbsd_amd64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_openbsd.go 3 | 4 | package pty 5 | 6 | type ptmget struct { 7 | Cfd int32 8 | Sfd int32 9 | Cn [16]int8 10 | Sn [16]int8 11 | } 12 | 13 | var ioctl_PTMGET = 0x40287401 14 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/frontend/dockerfile/instructions/errors_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package instructions 4 | 5 | import "fmt" 6 | 7 | func errNotJSON(command, _ string) error { 8 | return fmt.Errorf("%s requires the arguments to be in JSON form", command) 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opencontainers/runc/libcontainer/configs/hugepage_limit.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | type HugepageLimit struct { 4 | // which type of hugepage to limit. 5 | Pagesize string `json:"page_size"` 6 | 7 | // usage limit for hugepage. 8 | Limit uint64 `json:"limit"` 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/opencontainers/runc/libcontainer/configs/namespaces_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package configs 4 | 5 | // Namespace defines configuration for each namespace. It specifies an 6 | // alternate path that is able to be joined via setns. 7 | type Namespace struct { 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/vendor/golang.org/x/net/internal/socket/sys_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /components/cli/cli/command/volume/testdata/volume-inspect-without-format.single-volume.golden: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "Driver": "local", 4 | "Labels": null, 5 | "Mountpoint": "/data/volume", 6 | "Name": "volume", 7 | "Options": null, 8 | "Scope": "local" 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/contrib/README.md: -------------------------------------------------------------------------------- 1 | The `contrib` directory contains scripts, images, and other helpful things 2 | which are not part of the core docker distribution. Please note that they 3 | could be out of date, since they do not receive the same attention as the 4 | rest of the repository. 5 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin 2 | 3 | package sequences 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | func EnableVirtualTerminalProcessing(stream uintptr, enable bool) error { 10 | return fmt.Errorf("windows only package") 11 | } 12 | -------------------------------------------------------------------------------- /components/cli/vendor/golang.org/x/oauth2/internal/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package internal contains support packages for oauth2 package. 6 | package internal 7 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/zfs/zfs_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd 2 | 3 | package zfs // import "github.com/docker/docker/daemon/graphdriver/zfs" 4 | 5 | func checkRootdirFs(rootdir string) error { 6 | return nil 7 | } 8 | 9 | func getMountpoint(id string) string { 10 | return id 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/pkg/system/meminfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | // ReadMemInfo is not supported on platforms other than linux and windows. 6 | func ReadMemInfo() (*MemInfo, error) { 7 | return nil, ErrNotSupportedPlatform 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /components/engine/vendor/golang.org/x/oauth2/internal/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package internal contains support packages for oauth2 package. 6 | package internal 7 | -------------------------------------------------------------------------------- /components/cli/cli/command/engine/cmd_test.go: -------------------------------------------------------------------------------- 1 | package engine 2 | 3 | import ( 4 | "testing" 5 | 6 | "gotest.tools/assert" 7 | ) 8 | 9 | func TestNewEngineCommand(t *testing.T) { 10 | cmd := NewEngineCommand(testCli) 11 | 12 | subcommands := cmd.Commands() 13 | assert.Assert(t, len(subcommands) == 3) 14 | } 15 | -------------------------------------------------------------------------------- /components/cli/scripts/docs/generate-yaml.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Generate yaml for docker/cli reference docs 3 | set -eu -o pipefail 4 | 5 | mkdir -p docs/yaml/gen 6 | 7 | go build -o build/yaml-docs-generator github.com/docker/cli/docs/yaml 8 | build/yaml-docs-generator --root "$(pwd)" --target "$(pwd)/docs/yaml/gen" 9 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/package.go: -------------------------------------------------------------------------------- 1 | // Package otgrpc provides OpenTracing support for any gRPC client or server. 2 | // 3 | // See the README for simple usage examples: 4 | // https://github.com/grpc-ecosystem/grpc-opentracing/blob/master/go/otgrpc/README.md 5 | package otgrpc 6 | -------------------------------------------------------------------------------- /components/engine/container/mounts_windows.go: -------------------------------------------------------------------------------- 1 | package container // import "github.com/docker/docker/container" 2 | 3 | // Mount contains information for a mount operation. 4 | type Mount struct { 5 | Source string `json:"source"` 6 | Destination string `json:"destination"` 7 | Writable bool `json:"writable"` 8 | } 9 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/copy/copy_nocgo.go: -------------------------------------------------------------------------------- 1 | // +build linux,!cgo 2 | 3 | package copy // import "github.com/docker/docker/daemon/graphdriver/copy" 4 | 5 | import ( 6 | "os" 7 | 8 | "golang.org/x/sys/unix" 9 | ) 10 | 11 | func fiClone(srcFile, dstFile *os.File) error { 12 | return unix.ENOSYS 13 | } 14 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/register/register_overlay.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_overlay,linux 2 | 3 | package register // import "github.com/docker/docker/daemon/graphdriver/register" 4 | 5 | import ( 6 | // register the overlay graphdriver 7 | _ "github.com/docker/docker/daemon/graphdriver/overlay" 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/pkg/namesgenerator/cmd/names-generator/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "math/rand" 6 | "time" 7 | 8 | "github.com/docker/docker/pkg/namesgenerator" 9 | ) 10 | 11 | func main() { 12 | rand.Seed(time.Now().UnixNano()) 13 | fmt.Println(namesgenerator.GetRandomName(0)) 14 | } 15 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/armon/go-metrics/const_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package metrics 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | const ( 10 | // DefaultSignal is used with DefaultInmemSignal 11 | // Windows has no SIGUSR1, use SIGBREAK 12 | DefaultSignal = syscall.Signal(21) 13 | ) 14 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/aws/aws-sdk-go/aws/version.go: -------------------------------------------------------------------------------- 1 | // Package aws provides core functionality for making requests to AWS services. 2 | package aws 3 | 4 | // SDKName is the name of this AWS SDK 5 | const SDKName = "aws-sdk-go" 6 | 7 | // SDKVersion is the version of this SDK 8 | const SDKVersion = "1.12.66" 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/coreos/pkg/README.md: -------------------------------------------------------------------------------- 1 | a collection of go utility packages 2 | 3 | [![Build Status](https://travis-ci.org/coreos/pkg.png?branch=master)](https://travis-ci.org/coreos/pkg) 4 | [![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/coreos/pkg) 5 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/portallocator/portallocator_windows.go: -------------------------------------------------------------------------------- 1 | package portallocator 2 | 3 | const ( 4 | StartPortRange = 60000 5 | EndPortRange = 65000 6 | ) 7 | 8 | func getDynamicPortRange() (start int, end int, err error) { 9 | return StartPortRange, EndPortRange, nil 10 | } 11 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin 2 | 3 | package sequences 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | func EnableVirtualTerminalProcessing(stream uintptr, enable bool) error { 10 | return fmt.Errorf("windows only package") 11 | } 12 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/moby/buildkit/util/binfmt_misc/check_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package binfmt_misc 4 | 5 | import ( 6 | "os/exec" 7 | "syscall" 8 | ) 9 | 10 | func withChroot(cmd *exec.Cmd, dir string) { 11 | cmd.SysProcAttr = &syscall.SysProcAttr{ 12 | Chroot: dir, 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /components/cli/cli-plugins/manager/manager_windows.go: -------------------------------------------------------------------------------- 1 | package manager 2 | 3 | import ( 4 | "os" 5 | "path/filepath" 6 | ) 7 | 8 | var defaultSystemPluginDirs = []string{ 9 | filepath.Join(os.Getenv("ProgramData"), "Docker", "cli-plugins"), 10 | filepath.Join(os.Getenv("ProgramFiles"), "Docker", "cli-plugins"), 11 | } 12 | -------------------------------------------------------------------------------- /components/cli/cli/command/engine/testdata/check-patches-only.golden: -------------------------------------------------------------------------------- 1 | TYPE VERSION NOTES 2 | current 1.1.0 3 | patch 1.1.1 https://docs.docker.com/releasenotes/1.1.1 4 | patch 1.1.2 https://docs.docker.com/releasenotes/1.1.2 5 | -------------------------------------------------------------------------------- /components/cli/cli/command/engine/testdata/expired-hub-license-display-only.golden: -------------------------------------------------------------------------------- 1 | Looking for existing licenses for ... 2 | NUM OWNER PRODUCT ID EXPIRES PRICING COMPONENTS 3 | 0 2010-01-01 00:00:00 +0000 UTC 4 | -------------------------------------------------------------------------------- /components/cli/kubernetes/compose/v1beta2/owner.go: -------------------------------------------------------------------------------- 1 | package v1beta2 2 | 3 | import api "github.com/docker/compose-on-kubernetes/api/compose/v1beta2" 4 | 5 | // Owner describes the user who created the stack 6 | // Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.Owner instead 7 | type Owner = api.Owner 8 | -------------------------------------------------------------------------------- /components/cli/man/src/container/unpause.md: -------------------------------------------------------------------------------- 1 | The `docker container unpause` command un-suspends all processes in a container. 2 | On Linux, it does this using the cgroups freezer. 3 | 4 | See the [cgroups freezer documentation] 5 | (https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt) for 6 | further details. 7 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/gogo/googleapis/Readme.md: -------------------------------------------------------------------------------- 1 | # Google APIs generated by gogoprotobuf 2 | 3 | [![Build Status](https://travis-ci.org/gogo/googleapis.svg?branch=master)](https://travis-ci.org/gogo/googleapis) 4 | 5 | The [grpc-example](https://github.com/gogo/grpc-example) includes an example usage of this repository. 6 | -------------------------------------------------------------------------------- /components/engine/client/client_windows.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | // DefaultDockerHost defines os specific default if DOCKER_HOST is unset 4 | const DefaultDockerHost = "npipe:////./pipe/docker_engine" 5 | 6 | const defaultProto = "npipe" 7 | const defaultAddr = "//./pipe/docker_engine" 8 | -------------------------------------------------------------------------------- /components/engine/cmd/dockerd/daemon_freebsd.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // preNotifySystem sends a message to the host when the API is active, but before the daemon is 4 | func preNotifySystem() { 5 | } 6 | 7 | // notifySystem sends a message to the host when the server is ready to be used 8 | func notifySystem() { 9 | } 10 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/register/register_overlay2.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_overlay2,linux 2 | 3 | package register // import "github.com/docker/docker/daemon/graphdriver/register" 4 | 5 | import ( 6 | // register the overlay2 graphdriver 7 | _ "github.com/docker/docker/daemon/graphdriver/overlay2" 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/register/register_windows.go: -------------------------------------------------------------------------------- 1 | package register // import "github.com/docker/docker/daemon/graphdriver/register" 2 | 3 | import ( 4 | // register the windows graph drivers 5 | _ "github.com/docker/docker/daemon/graphdriver/lcow" 6 | _ "github.com/docker/docker/daemon/graphdriver/windows" 7 | ) 8 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/package.go: -------------------------------------------------------------------------------- 1 | // Package otgrpc provides OpenTracing support for any gRPC client or server. 2 | // 3 | // See the README for simple usage examples: 4 | // https://github.com/grpc-ecosystem/grpc-opentracing/blob/master/go/otgrpc/README.md 5 | package otgrpc 6 | -------------------------------------------------------------------------------- /components/engine/volume/mounts/volume_windows.go: -------------------------------------------------------------------------------- 1 | package mounts // import "github.com/docker/docker/volume/mounts" 2 | 3 | func (p *windowsParser) HasResource(m *MountPoint, absolutePath string) bool { 4 | return false 5 | } 6 | func (p *linuxParser) HasResource(m *MountPoint, absolutePath string) bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /components/cli/vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /components/engine/contrib/syscall-test/raw.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | int main() { 8 | if (socket(PF_INET, SOCK_RAW, IPPROTO_UDP) == -1) { 9 | perror("socket"); 10 | return 1; 11 | } 12 | 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /components/engine/daemon/graphdriver/register/register_zfs.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_zfs,linux !exclude_graphdriver_zfs,freebsd 2 | 3 | package register // import "github.com/docker/docker/daemon/graphdriver/register" 4 | 5 | import ( 6 | // register the zfs driver 7 | _ "github.com/docker/docker/daemon/graphdriver/zfs" 8 | ) 9 | -------------------------------------------------------------------------------- /components/engine/pkg/signal/signal_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin,!freebsd,!windows 2 | 3 | package signal // import "github.com/docker/docker/pkg/signal" 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | // SignalMap is an empty map of signals for unsupported platform. 10 | var SignalMap = map[string]syscall.Signal{} 11 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/gogo/googleapis/Readme.md: -------------------------------------------------------------------------------- 1 | # Google APIs generated by gogoprotobuf 2 | 3 | [![Build Status](https://travis-ci.org/gogo/googleapis.svg?branch=master)](https://travis-ci.org/gogo/googleapis) 4 | 5 | The [grpc-example](https://github.com/gogo/grpc-example) includes an example usage of this repository. 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_freebsd_amd64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_freebsd.go 3 | 4 | package pty 5 | 6 | const ( 7 | _C_SPECNAMELEN = 0x3f 8 | ) 9 | 10 | type fiodgnameArg struct { 11 | Len int32 12 | Pad_cgo_0 [4]byte 13 | Buf *byte 14 | } 15 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/vishvananda/netlink/netlink_linux.go: -------------------------------------------------------------------------------- 1 | package netlink 2 | 3 | import "github.com/vishvananda/netlink/nl" 4 | 5 | // Family type definitions 6 | const ( 7 | FAMILY_ALL = nl.FAMILY_ALL 8 | FAMILY_V4 = nl.FAMILY_V4 9 | FAMILY_V6 = nl.FAMILY_V6 10 | FAMILY_MPLS = nl.FAMILY_MPLS 11 | ) 12 | -------------------------------------------------------------------------------- /components/engine/vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /components/cli/cli/command/registry/testdata/search-context-write-table.golden: -------------------------------------------------------------------------------- 1 | NAME DESCRIPTION STARS OFFICIAL AUTOMATED 2 | result1 Official build 5000 [OK] 3 | result2 Not official 5 [OK] 4 | -------------------------------------------------------------------------------- /components/cli/cli/command/swarm/testdata/unlockkeys-unlock-key.golden: -------------------------------------------------------------------------------- 1 | To unlock a swarm manager after it restarts, run the `docker swarm unlock` 2 | command and provide the following key: 3 | 4 | unlock-key 5 | 6 | Please remember to store this key in a password manager, since without it you 7 | will not be able to restart the manager. 8 | -------------------------------------------------------------------------------- /components/cli/kubernetes/compose/clone/slices.go: -------------------------------------------------------------------------------- 1 | package clone 2 | 3 | import api "github.com/docker/compose-on-kubernetes/api/compose/clone" 4 | 5 | // SliceOfString deep copy a slice of strings 6 | // Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/clone.SliceOfString instead 7 | var SliceOfString = api.SliceOfString 8 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/docker/docker/pkg/system/umask_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | // Umask is not supported on the windows platform. 4 | func Umask(newmask int) (oldmask int, err error) { 5 | // should not be called on cli code path 6 | return 0, ErrNotSupportedPlatform 7 | } 8 | -------------------------------------------------------------------------------- /components/engine/pkg/ioutils/temp_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package ioutils // import "github.com/docker/docker/pkg/ioutils" 4 | 5 | import "io/ioutil" 6 | 7 | // TempDir on Unix systems is equivalent to ioutil.TempDir. 8 | func TempDir(dir, prefix string) (string, error) { 9 | return ioutil.TempDir(dir, prefix) 10 | } 11 | -------------------------------------------------------------------------------- /components/engine/pkg/reexec/README.md: -------------------------------------------------------------------------------- 1 | # reexec 2 | 3 | The `reexec` package facilitates the busybox style reexec of the docker binary that we require because 4 | of the forking limitations of using Go. Handlers can be registered with a name and the argv 0 of 5 | the exec of the binary will be used to find and execute custom init paths. 6 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/docker/libnetwork/sandbox_externalkey.go: -------------------------------------------------------------------------------- 1 | package libnetwork 2 | 3 | import "github.com/docker/docker/pkg/reexec" 4 | 5 | type setKeyData struct { 6 | ContainerID string 7 | Key string 8 | } 9 | 10 | func init() { 11 | reexec.Register("libnetwork-setkey", processSetKeyReexec) 12 | } 13 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/kr/pty/ztypes_dragonfly_amd64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_dragonfly.go 3 | 4 | package pty 5 | 6 | const ( 7 | _C_SPECNAMELEN = 0x3f 8 | ) 9 | 10 | type fiodgnameArg struct { 11 | Name *byte 12 | Len uint32 13 | Pad_cgo_0 [4]byte 14 | } 15 | -------------------------------------------------------------------------------- /components/engine/vendor/golang.org/x/net/internal/socket/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,go1.12 6 | 7 | // This exists solely so we can linkname in symbols from syscall. 8 | -------------------------------------------------------------------------------- /components/cli/e2e/container/testdata/run-attached-from-remote-and-remove.golden: -------------------------------------------------------------------------------- 1 | Unable to find image 'registry:5000/alpine:test-run-pulls' locally 2 | test-run-pulls: Pulling from alpine 3 | Digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d 4 | Status: Downloaded newer image for registry:5000/alpine:test-run-pulls 5 | -------------------------------------------------------------------------------- /components/cli/man/src/volume/inspect.md: -------------------------------------------------------------------------------- 1 | Returns information about one or more volumes. By default, this command renders 2 | all results in a JSON array. You can specify an alternate format to execute a 3 | given template is executed for each result. Go's https://golang.org/pkg/text/template/ 4 | package describes all the details of the format. 5 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix 2 | 3 | package logrus 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETS 8 | 9 | func isTerminal(fd int) bool { 10 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 11 | return err == nil 12 | } 13 | 14 | -------------------------------------------------------------------------------- /components/cli/vendor/github.com/theupdateframework/notary/trustmanager/yubikey/pkcs11_darwin.go: -------------------------------------------------------------------------------- 1 | // +build pkcs11,darwin 2 | 3 | package yubikey 4 | 5 | var possiblePkcs11Libs = []string{ 6 | "/usr/local/lib/libykcs11.dylib", 7 | "/usr/local/docker/lib/libykcs11.dylib", 8 | "/usr/local/docker-experimental/lib/libykcs11.dylib", 9 | } 10 | -------------------------------------------------------------------------------- /components/cli/vendor/golang.org/x/sys/cpu/cpu_mipsx.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build mips mipsle 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func doinit() {} 12 | -------------------------------------------------------------------------------- /components/engine/daemon/licensing.go: -------------------------------------------------------------------------------- 1 | package daemon // import "github.com/docker/docker/daemon" 2 | 3 | import ( 4 | "github.com/docker/docker/api/types" 5 | "github.com/docker/docker/dockerversion" 6 | ) 7 | 8 | func (daemon *Daemon) fillLicense(v *types.Info) { 9 | v.ProductLicense = dockerversion.DefaultProductLicense 10 | } 11 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/ugorji/go/codec/goversion_unexportedembeddedptr_gte_go110.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.10 5 | 6 | package codec 7 | 8 | const allowSetUnexportedEmbeddedPtr = false 9 | -------------------------------------------------------------------------------- /components/engine/vendor/github.com/ugorji/go/codec/goversion_unexportedembeddedptr_lt_go110.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build !go1.10 5 | 6 | package codec 7 | 8 | const allowSetUnexportedEmbeddedPtr = true 9 | -------------------------------------------------------------------------------- /components/engine/vendor/golang.org/x/net/internal/socket/sys_linux_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x16d 9 | sysSENDMMSG = 0x176 10 | ) 11 | -------------------------------------------------------------------------------- /components/engine/vendor/golang.org/x/sys/cpu/cpu_mipsx.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build mips mipsle 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func doinit() {} 12 | -------------------------------------------------------------------------------- /components/cli/cli/command/stack/kubernetes/testdata/compose-with-expose.yml: -------------------------------------------------------------------------------- 1 | version: "3.7" 2 | services: 3 | test: 4 | image: "some-image" 5 | expose: 6 | - "1" # default protocol, single port 7 | - "2-4" # default protocol, port range 8 | - "5/udp" # specific protocol, single port 9 | - "6-8/udp" # specific protocol, port range --------------------------------------------------------------------------------