4 ms·
You can log inside the container as normal (if it is a long running/persistent one) and exec a shell on it to work with the logs, or you can log to a mounted vo
by gmuslera 8y ago
You can log inside the container as normal (if it is a long running/persistent one) and exec a shell on it to work with the logs, or you can log to a mounted volume (to local drive, another container used for storage, a remote drive, etc), or send the logs to a central log server or an elasticsearch database to have a search engine/dashboard for your logs. There are more options, but the best depends on your use case.