Skip to content

Instantly share code, notes, and snippets.

@pgvishnuram
Created February 9, 2023 14:50
Show Gist options
  • Select an option

  • Save pgvishnuram/39b96f7b889bdb855880850779deafa6 to your computer and use it in GitHub Desktop.

Select an option

Save pgvishnuram/39b96f7b889bdb855880850779deafa6 to your computer and use it in GitHub Desktop.
Docker Events stream
sending all events
{
id: '9ef0d5de-8317-4029-8470-ddfd677fe070',
timestamp: '2023-02-09T14:40:13.709631Z',
action: 'push',
target: {
mediaType: 'application/vnd.docker.distribution.manifest.v2+json',
size: 528,
digest: 'sha256:41d876d4e44348d1c27445fdb0e64592e0eb926d4dbbcf09a3526dee7e628329',
length: 528,
repository: 'vishnu89',
url: 'http://localhost:5000/v2/vishnu89/manifests/sha256:41d876d4e44348d1c27445fdb0e64592e0eb926d4dbbcf09a3526dee7e628329',
tag: 'alpine-317'
},
request: {
id: '561ef649-0fc7-4c86-829a-b375ce98398f',
addr: '192.168.80.1:35654',
host: 'localhost:5000',
method: 'PUT',
useragent: 'docker/20.10.22 go/go1.18.9 git-commit/42c8b31 kernel/5.15.49-linuxkit os/linux arch/arm64 UpstreamClient(Docker-Client/20.10.22 \\(darwin\\))'
},
actor: {},
source: {
addr: 'b954d1f4796d:5000',
instanceID: '02891ac5-2bc7-4ecc-8fb7-b4a820c1c2e4'
}
}
sending all events completed
Data sent by registry notifier with content type docker
{
id: '9ef0d5de-8317-4029-8470-ddfd677fe070',
timestamp: '2023-02-09T14:40:13.709631Z',
action: 'push',
target: {
mediaType: 'application/vnd.docker.distribution.manifest.v2+json',
size: 528,
digest: 'sha256:41d876d4e44348d1c27445fdb0e64592e0eb926d4dbbcf09a3526dee7e628329',
length: 528,
repository: 'vishnu89',
url: 'http://localhost:5000/v2/vishnu89/manifests/sha256:41d876d4e44348d1c27445fdb0e64592e0eb926d4dbbcf09a3526dee7e628329',
tag: 'alpine-317'
},
request: {
id: '561ef649-0fc7-4c86-829a-b375ce98398f',
addr: '192.168.80.1:35654',
host: 'localhost:5000',
method: 'PUT',
useragent: 'docker/20.10.22 go/go1.18.9 git-commit/42c8b31 kernel/5.15.49-linuxkit os/linux arch/arm64 UpstreamClient(Docker-Client/20.10.22 \\(darwin\\))'
},
actor: {},
source: {
addr: 'b954d1f4796d:5000',
instanceID: '02891ac5-2bc7-4ecc-8fb7-b4a820c1c2e4'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment