-
-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move host-config and endpoint settings to a specific modifiers (…
…#633) * feat: support preconfiguring Docker's host config and endpoint settings before container creation * chore: deprecate ExtraHosts from the container request * chore: deprecate Binds from the container request * chore: deprecate Tmpfs from the container request * chore: deprecate AutoRemove from the container request * chore: deprecate Privileged from the container request * chore: deprecate Resources from the container request * chore: deprecate ShmSize from the container request * chore: deprecate CapAdd from the container request * chore: deprecate CapDrop from the container request * chore: deprecate NetworkMode from the container request * chore: consistent name for endpointSettings variable * chore: rename callback to hook Callback suggests execution after an operation. Using hook following what git does with commit hooks * chore: extract default pre-creation hook to a function * fix: wording * chore: extract preCreation code to a function * chore: rename methods to use modifier * chore: extract life cycle to a separate file Preparation for the future * fix: update comments * chore: push Tmpfs back to layer 1 * chore: push Privileged back to layer 1 * fix: remove outdated comments * chore: bring ShmSize back to the first layer * chore: separate concerns for modifiers * fix: typo in variable * chore: add modifier for Docker config In the case of advanced setups, a user would be able to modify anything in the Docker config * chore: unit tests for the preCreateHook * fix: check for the existence of aliases when there are multiple networks * chore: adjust error messages in tests * chore: include mounts in the unit tests * fix: handle error in tests * fix: handle error in tests * chore: execute modifiers the last * chore: rename file * Revert "chore: execute modifiers the last" This reverts commit f1b6e26. * docs: document the modifiers * fix: typo
- Loading branch information
1 parent
a92f198
commit 34481cf
Showing
8 changed files
with
532 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.