MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / create

Method create

java/src/org/openqa/selenium/docker/Docker.java:68–76  ·  view source on GitHub ↗
(ContainerConfig config)

Source from the content-addressed store, hash-verified

66 }
67
68 public Container create(ContainerConfig config) {
69 Require.nonNull("Container config", config);
70
71 LOG.fine("Creating image from " + config);
72
73 return getDocker()
74 .map(protocol -> protocol.create(config))
75 .orElseThrow(() -> new DockerException("Unable to create container: " + config));
76 }
77
78 public Optional<ContainerInfo> inspect(ContainerId id) {
79 Require.nonNull("Container id", id);

Callers

nothing calls this directly

Calls 5

nonNullMethod · 0.95
getDockerMethod · 0.95
fineMethod · 0.80
createMethod · 0.65
mapMethod · 0.45

Tested by

no test coverage detected