(DockerClient client)
| 166 | } |
| 167 | |
| 168 | public void removeContainer(DockerClient client) { |
| 169 | RemoveContainerCmd remove = client.removeContainerCmd(containerName).withForce(true); |
| 170 | try { |
| 171 | |
| 172 | remove.exec(); |
| 173 | } catch (NotFoundException e) { |
| 174 | |
| 175 | log(e.toString()); |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | public void execCommand(DockerClient client, String[] command) throws Exception { |
| 180 | ExecCreateCmdResponse resp = client.execCreateCmd(containerName).withPrivileged(true).withUser("root") |
no test coverage detected