add support for ipcMode
@@ -213,6 +213,10 @@ class DockerCreateContainer extends DockerExistingImage {
@Optional
final Property<String> macAddress = project.objects.property(String)
+ @Input
+ @Optional
+ final Property<String> ipcMode = project.objects.property(String)
+
DockerCreateContainer() {
links.empty()
portSpecs.empty()
@@ -445,6 +449,10 @@ class DockerCreateContainer extends DockerExistingImage {
if(macAddress.getOrNull()) {
containerCommand.withMacAddress(macAddress.get())
}
+
+ if(ipcMode.getOrNull()) {
+ containerCommand.hostConfig.withIpcMode(ipcMode.get())
+ }
}
static class LogConfig {
