Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Hocker::Runtime::Network
Instance methods
cleanup
(container_id :
String
, host_if :
String
)
Source
cleanup_all
Source
cleanup_interface
(name :
String
)
Source
cleanup_iptables
Source
configure_container_interface
(pid :
Int64
, temp_name :
String
, final_name :
String
, container_id :
String
)
Source
create_bridge
(name :
String
= "hocker0", subnet :
String
= "172.17.0.0/16")
Source
create_resolv_conf
(pid :
Int64
)
Source
run_command
(cmd :
Array
(
String
), allow_failure :
Bool
= false)
Source
setup_container_network
(container_pid :
Int32
, container_id :
String
)
Source