File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
src/main/java/com/github/dockerjava/client/command Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 11package com .github .dockerjava .client .command ;
22
3- import javax .ws .rs .core .MediaType ;
4- import javax .ws .rs .core .MultivaluedMap ;
5-
6- import org .slf4j .Logger ;
7- import org .slf4j .LoggerFactory ;
8-
93import com .github .dockerjava .client .DockerException ;
104import com .github .dockerjava .client .NotFoundException ;
115import com .github .dockerjava .client .model .ContainerCreateResponse ;
1610import com .sun .jersey .api .client .UniformInterfaceException ;
1711import com .sun .jersey .api .client .WebResource ;
1812import com .sun .jersey .core .util .MultivaluedMapImpl ;
13+ import org .slf4j .Logger ;
14+ import org .slf4j .LoggerFactory ;
15+
16+ import javax .ws .rs .core .MediaType ;
17+ import javax .ws .rs .core .MultivaluedMap ;
1918
2019
2120/**
@@ -68,6 +67,11 @@ public CreateContainerCmd withVolumesFrom(String... volumesFrom) {
6867 this .containerCreateConfig .withVolumesFrom (volumesFrom );
6968 return this ;
7069 }
70+
71+ public CreateContainerCmd withTTY (boolean tty ) {
72+ this .containerCreateConfig .withTty (tty );
73+ return this ;
74+ }
7175
7276 public CreateContainerCmd withEnv (String ... env ) {
7377 Preconditions .checkNotNull (env , "env was not specified" );
You can’t perform that action at this time.
0 commit comments