What is the problem you're trying to solve
Support nerdctl logs for the containers running without -d
README.md already stated it is not supported yet. So opening a feature request instead of a bug report.
Reproducd by building source code from main branch.
$ sudo ./_output/nerdctl run -it ubuntu
# open a new terminal
$ sudo ./output/nerdctl ps # get the container id
$ sudo ./_output/nerdctl logs ccc97467def7
FATA[0000] failed to load logging config: failed to read log config file "/var/lib/nerdctl/1935db59/containers/default/ccc97467def7dd95330c6e872917e130180a1de2e4d6c34bdebeb16af434a5a6/log-config.json": open /var/lib/nerdctl/1935db59/containers/default/ccc97467def7dd95330c6e872917e130180a1de2e4d6c34bdebeb16af434a5a6/log-config.json: no such file or directory
Describe the solution you'd like
Add the feature to support logs command with the container running without -d.
Additional context
runfinch/finch#85
What is the problem you're trying to solve
Support
nerdctl logsfor the containers running without -dREADME.md already stated it is not supported yet. So opening a feature request instead of a bug report.
Reproducd by building source code from main branch.
Describe the solution you'd like
Add the feature to support logs command with the container running without -d.
Additional context
runfinch/finch#85