MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / removeContainer

Method removeContainer

src/main/java/core/packetproxy/OpenVPN.java:168–177  ·  view source on GitHub ↗
(DockerClient client)

Source from the content-addressed store, hash-verified

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")

Callers 1

stopServerMethod · 0.95

Calls 2

logMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected