server: expose container Name and IP
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
5947698818
commit
e1125af435
3 changed files with 17 additions and 1 deletions
|
@ -396,6 +396,11 @@ func (s *Server) createSandboxContainer(ctx context.Context, containerID string,
|
|||
specgen.AddAnnotation(k, v)
|
||||
}
|
||||
}
|
||||
if labels != nil {
|
||||
for k, v := range labels {
|
||||
specgen.AddAnnotation(k, v)
|
||||
}
|
||||
}
|
||||
|
||||
// set this container's apparmor profile if it is set by sandbox
|
||||
if s.appArmorEnabled {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue