Skip to content

dummy information using logs API #579

@linlinlinlin

Description

@linlinlinlin

Using docker logs command

 ken@ubuntu ~/ $ curl "http://127.0.0.1:2376/v1.18/containers/c8f53651e1bf/logs?stdout=1"
 root@c8f53651e1bf:/# exit

Using docker-py API

In [4]: c.logs('c8f53651e1bf')
Out[4]: '@c8f53651e1bf: /\x07root@c8f53651e1bf:/# exit\n'

Issue:
The output of @ c8f53651e1bf: in the beginning was incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions