4f47013feb
Currently, IPAM config is never validated by the API. Some checks are done by the CLI, but they're not exhaustive. And some of these misconfigurations might be caught early by libnetwork (ie. when the network is created), and others only surface when connecting a container to a misconfigured network. In both cases, the API would return a 500. Although the `NetworkCreate` endpoint might already return warnings, these are never displayed by the CLI. As such, it was decided during a maintainer's call to return validation errors _for all API versions_. Signed-off-by: Albin Kerouanton <albinker@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
.binary | ||
.build-empty-images | ||
.go-autogen | ||
.go-autogen.ps1 | ||
.install | ||
.integration-daemon-start | ||
.integration-daemon-stop | ||
.integration-test-helpers | ||
.mkwinres | ||
binary | ||
binary-daemon | ||
binary-proxy | ||
dynbinary | ||
dynbinary-daemon | ||
dynbinary-proxy | ||
install-binary | ||
install-proxy | ||
README.md | ||
run | ||
test-docker-py | ||
test-integration | ||
test-integration-flaky | ||
test-integration-shell |
This directory holds scripts called by make.sh
in the parent directory.
Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:
./hack/make.sh binary ubuntu
# Or to run all default bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh