Networks returns a comma-separated string of networks that the container is attached to.
()
| 275 | // Networks returns a comma-separated string of networks that the container is |
| 276 | // attached to. |
| 277 | func (c *ContainerContext) Networks() string { |
| 278 | return strings.Join(c.c.Networks, ",") |
| 279 | } |
| 280 | |
| 281 | // Size returns the container's size and virtual size (e.g. "2B (virtual 21.5MB)") |
| 282 | func (c *ContainerContext) Size() string { |
no outgoing calls