Logs are now accessible in docker. I have also left the functionality, where after starting a new node the new log file is printed on the screen.
mikel@msi:~/repo/DUNE$ ./dune --start my_node
Node [my_node] is already running.
mikel@msi:~/repo/DUNE$ ./dune -- ls -la /app/my_node.out
-rw-r--r-- 1 root root 50610 Mar 3 10:42 /app/my_node.out
mikel@msi:~/repo/DUNE$ ./dune -- head /app/my_node.out && tail /app/my_node.out
APPBASE: Warning: The following configuration items in the config.ini file are redundantly set to
their default value:
abi-serializer-max-time-ms, http-server-address, p2p-listen-endpoint, net-threads,
state-history-endpoint
Explicit values will override future changes to application defaults. Consider commenting out or
removing these items.
info 2023-03-03T10:41:46.628 nodeos chain_plugin.cpp:657 plugin_initialize ] initializing chain plugin
info 2023-03-03T10:41:46.628 nodeos chain_plugin.cpp:466 operator() ] Support for builtin protocol feature 'GET_BLOCK_NUM' (with digest of '35c2186cc36f7bb4aeaf4487b36e57039ccf45a9136aa856a5d569ecca55ef2b') is enabled with preactivation required
info 2023-03-03T10:41:46.628 nodeos chain_plugin.cpp:574 operator() ] Saved default specification for builtin protocol feature 'GET_BLOCK_NUM' (with digest of '35c2186cc36f7bb4aeaf4487b36e57039ccf45a9136aa856a5d569ecca55ef2b') to: /app/nodes/my_node/protocol_features/BUILTIN-GET_BLOCK_NUM.json
info 2023-03-03T10:41:46.628 nodeos chain_plugin.cpp:466 operator() ] Support for builtin protocol feature 'CRYPTO_PRIMITIVES' (with digest of '6bcb40a24e49c26d0a60513b6aeb8551d264e4717f306b81a37a5afb3b47cedc') is enabled with preactivation required
mikel@msi:~/repo/DUNE$ ./dune -- tail /app/my_node.out
info 2023-03-03T10:43:24.902 nodeos producer_plugin.cpp:2534 produce_block ] Produced block 518092ccf4331f1b... #197 @ 2023-03-03T10:43:25.000 signed by eosio [trxs: 0, lib: 196, confirmed: 0, net: 0, cpu: 100, elapsed: 76, time: 1587]
(...)
info 2023-03-03T10:43:29.300 nodeos producer_plugin.cpp:2534 produce_block ] Produced block 885bcf9060f7297b... #206 @ 2023-03-03T10:43:29.500 signed by eosio [trxs: 0, lib: 205, confirmed: 0, net: 0, cpu: 100, elapsed: 59, time: 606]
Logs are now accessible in docker. I have also left the functionality, where after starting a new node the new log file is printed on the screen.