This version contains code that allows to read and use relocation map
during fixup phase
See https://github.com/docker/cnab-to-oci/pull/82
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
Without this check, Linux bridge docker0 or Winwdows DockerNAT could be
selected as "host IP" but won't allow to route to container
Same issue probalby exists on Linux with docker0 bridge
Here we discover the default gateway, and search for the interface
configured on the same network.
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This allows us to rely on the upstream yaml.v2 library as it includes a
mitigation for malicious YAML files (see:
https://github.com/kubernetes/kubernetes/issues/83253).
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
For uniformity with `docker run` user experience.
Note a full implementation would required to get the engine manage
random name unicity, like it does for containers.
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
* Remove `completion` command
* Bump cobra dependency for better zsh completion
`docker app completion` is not consistent with docker CLI
replaced by `--completion` flag (hidden)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
* Add more logs
Fixed some logs that didn't log the error buffer from the invocation
image.
* Update cnab-to-oci dependency
And pass a logger when pushing and pulling
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Bump docker/docker
Fix last changes on context stores made on docker/cli (the main store interface has been split to multiple smaller interfaces).
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
- Use a custom duffle branch using github.com/deislabs/cnab-go/bundle (waiting for https://github.com/deislabs/duffle/pull/681 to be merged)
Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
Update docker/cli vendoring (which required a bump of docker/docker) in
order to include this fix: https://github.com/docker/cli/pull/1787
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Updates the cnab-to-oci vendoring so that we support both registries in plain HTTP and registries with invalid certificates. This makes --insecure-registries flag behave like dockerd.
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
- Update docker/cli is now pointing to chris-crone/cli.
The change needs the merge of https://github.com/docker/cli/pull/1718
and https://github.com/docker/cli/pull/1690
- Fix issues relative paths in Jenkinsfile and Jenkinsfile.baguette
- Avoid using '--config' in favor of env variable 'DOCKER_CONFIG'
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>