File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
docker-java-api/src/main/java/com/github/dockerjava/api/model Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,9 @@ public static HostConfig newHostConfig() {
292292 @ JsonProperty ("ConsoleSize" )
293293 private List <Integer > consoleSize ;
294294
295+ @ JsonProperty ("CgroupnsMode" )
296+ private String cgroupnsMode ;
297+
295298 @ JsonIgnore
296299 public Bind [] getBinds () {
297300 return (binds == null ) ? new Bind [0 ] : binds .getBinds ();
@@ -1193,6 +1196,16 @@ public HostConfig withUsernsMode(String usernsMode) {
11931196 return this ;
11941197 }
11951198
1199+ @ CheckForNull
1200+ public String getCgroupnsMode () {
1201+ return cgroupnsMode ;
1202+ }
1203+
1204+ public HostConfig withCgroupnsMode (String cgroupnsMode ) {
1205+ this .cgroupnsMode = cgroupnsMode ;
1206+ return this ;
1207+ }
1208+
11961209 @ CheckForNull
11971210 public Map <String , String > getSysctls () {
11981211 return sysctls ;
You can’t perform that action at this time.
0 commit comments