Socat and port forwarding

2019-03-25
I have found a way to forward requests from one machine's specific port to another machine's specific port. There is a package called socat for this.A short example:socat -v tcp4-listen:port1,reuseaddr,fork tcp4:address:port2In this case: port1 - the port the local machine is listeni...

Docker logs

2018-12-04
One day I noticed that server disk space is running low, the culprit was docker. As I later found out, docker does not limit the maximum filesize of the log files. In order to limit the file size you need to pass some parameters when running containers, you can also make a global config file.Step...