Merge pull request #334 from mrunalp/remove_state_dir
Remove the state directory as we now have a state operation instead
This commit is contained in:
commit
3b7c15d90f
|
@ -2,9 +2,6 @@ package specs
|
||||||
|
|
||||||
import "os"
|
import "os"
|
||||||
|
|
||||||
// LinuxStateDirectory holds the container's state information
|
|
||||||
const LinuxStateDirectory = "/run/opencontainer/containers"
|
|
||||||
|
|
||||||
// LinuxSpec is the full specification for linux containers.
|
// LinuxSpec is the full specification for linux containers.
|
||||||
type LinuxSpec struct {
|
type LinuxSpec struct {
|
||||||
Spec
|
Spec
|
||||||
|
|
3
state.go
3
state.go
|
@ -1,9 +1,6 @@
|
||||||
package specs
|
package specs
|
||||||
|
|
||||||
// State holds information about the runtime state of the container.
|
// State holds information about the runtime state of the container.
|
||||||
// This information will be stored in a file called `state.json`.
|
|
||||||
// The location of this file will be operating system specific. On Linux
|
|
||||||
// it will be in `/run/opencontainers/runc/<containerID>/state.json`
|
|
||||||
type State struct {
|
type State struct {
|
||||||
// Version is the version of the specification that is supported.
|
// Version is the version of the specification that is supported.
|
||||||
Version string `json:"version"`
|
Version string `json:"version"`
|
||||||
|
|
Loading…
Reference in New Issue