ContainerStateDirPath returns the path to the Nerdctl-managed state directory for the container with the given ID.
(ns, dataStore, id string)
| 560 | |
| 561 | // ContainerStateDirPath returns the path to the Nerdctl-managed state directory for the container with the given ID. |
| 562 | func ContainerStateDirPath(ns, dataStore, id string) (string, error) { |
| 563 | return filepath.Join(dataStore, "containers", ns, id), nil |
| 564 | } |
| 565 | |
| 566 | // ContainerVolume is a struct representing a volume in a container. |
| 567 | type ContainerVolume struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…