Skip to content

run: read logs from the local logging driver - #3456

Open
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:run-reads-local-logs
Open

locker95 wants to merge 1 commit into
docker:mainfrom
locker95:run-reads-local-logs

Conversation

@locker95

Copy link
Copy Markdown

containers.run() only followed logs for json-file and journald, then returned None. Desktop 4.94 made local the default for new Linux containers, so a plain run() that used to come back with the output is now empty.

local can be read through the logs API, same as those two. This treats it that way.

Fixes #3455

containers.run() only followed logs for json-file and journald, so a
container on the local driver returned None. local supports the logs
API the same way those two do.

Fixes docker#3455

Signed-off-by: Dean Chen <862469039@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

containers.run() returns None for the local logging driver, now the Docker Desktop 4.94 default

1 participant