How to start a docker container as daemon process -

Instead of running docker container with an interactive shell it is also possible to let docker container to run as a daemon which means that the docker container would run in the background completely detached from your current shell.
This is a companion discussion topic for the original entry at

Just a hint!
Maybe instead for keep pinging some host (remote or not), just doing a “tail -f /dev/null” would be a better approach!

Just my 5cents on it!