We have been running NCS inside Docker for the last two years, externally mounting volume for directories under /var/opt/ncs except the packages dir.
The hang CLI issue is related to a bug in 4.5. The work around is to add a sleep after the echo co...
We have the following for our logrotate config for NCS log files:
/var/log/ncs/*.log
{
...
postrotate
/opt/ncs/current/bin/ncs_cmd -c reopen_logs
endscript
}
So you do not need another cron job.