====== Docker ======
==== Attach / Dettach ====
docker attach
== Prevent termination while + C in term ==
by changing sig proxy it can be prevented.
docker attach --sig-proxy=false
==== Host Firewall ====
Setting up firewall port forwarding and exposing service to world or specific IP.
# Forwarding port traffic
firewall-cmd --permanent --zone=public --add-forward-port=port=3030:proto=tcp:toport=3030
# Allowing access from specific host
firewall-cmd --permanent --zone=public --add-rich-rule="rule
family="ipv4" \
source address="192.168.1.5/32" \
port protocol="tcp" port="3030" accept"