示例#1
0
// DisconnectFromDockerEnvNetwork disconnects the provided container ID from the
// network bridge of an environment.
func DisconnectFromDockerEnvNetwork(
	docker *dockerapi.Client, containerID, networkID string) error {
	return docker.DisconnectNetwork(
		networkID, dockerapi.NetworkConnectionOptions{Container: containerID})
}