* Hack in IPAM options as they are the same data structure as network options.
* Add IPAM options to read refresh
* docs: Add `ipam_options` to network documentation.
* docs: Revise IPAM options documentation to make more clear as to what it does.
* refactor: remove Computed options as prompted from review
* make the docker_container resource stateChangeConf timeout configurable
* remove commented out code
* update docs
* use milliseconds for consistency
* update description to say milliseconds
* fix log fmt to show actual seconds from milliseconds, and make website-generation
* fix: import state for containerReadRefreshTimeoutMillisecondsDefault
* fix: typo in comment
Co-authored-by: Tyler Sullivan <tyler.sullivan@smartsheet.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
* feat: Add new tests for insecure registries.
* chore: Refactor code into parseImageOptions and add tests.
* feat: normalizeRegistryAddress supports http addresses.
* feat: keys of authConfigs are now stored without protocol.
* chore: Refactor of docker registry fallback in parseImageOptions.
* refactor: Improve tests and implementation of parseImageOptions
* feat: Implement support for http registries.
* fix: authConfig unit tests now reflect newest structure.
* fix: docker_image_registry data source can pull without authentication.
* fix: Refactor setup of http headers for registry requests.
* docs: Add note about http registries.
* docs: Fix linting error in docs.
* fix: Switch to proper go tools mechanism.
* fix: Add missing changes of website-lint github action.
* fix: Re-add some commands to make setup.
* docs: Fix service markdown file.
* fix(deps): Update golangci-lint version to match the one used in github action.
* fix: Add missing entry to go.sum
* fix(container): remove log_driver's default value and make log_driver `computed`
* fix: update the description
* docs: make website-generation
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
* fix: give service bind_options propagation rprivate as default
* test: add second bind mount for full-service spec to test this case as well
* docs: add a second mount to service example
* fix(service): allow other options for mount binds although they might not be the specified type
* test: for empty and null mount bind
* docs(service): explains propagation more in details
* docs(service): adds missing default for propagation
* fix(test): update stop grace period to 30s for flaky test on gh actions
Co-authored-by: Shunsuke Suzuki <suzuki-shunsuke@users.noreply.github.com>
* fix: service container wait
only apply if the destroy grace period is larger than 0s. Interpret also the wait result chan and errors
* chore(service): explains why we ignore certain errors
* chore: readds terraform-plugin-docs
* docs(service): explains the behavior if the grace period is 0s
* fix(service): ignore certain errors on wait error
* refactor: introduce more speaking error contains ignorable message method
because it's more precise on what's happening in the code