crcresearch / smartcontainers

Smart Containers to track Provenance in a Docker ecosystem
http://daspos.org
Apache License 2.0
5 stars 3 forks source link

Computational Environment #65

Open charlesvardeman opened 8 years ago

charlesvardeman commented 8 years ago

Ideally we want to capture the computational environment of the container and the host using the computational environment pattern context (https://github.com/Vocamp/ComputationalActivity/blob/master/pattern/ComputationalEnvironment.jsonld). The issue is that our knowledge of the host may be limited since we don't have a direct API hook to the environment other than container architecture, os and size. This limits the amount of information we can provide in the pattern, although a container is limited to the number of cores, memory and storage available on the host machine. This is a limitation of our knowledge of the docker engine.

},
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 4801147,
        "VirtualSize": 4801147,
        "GraphDriver": {
            "Name": "aufs",
            "Data": null
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:8f045733649f36ff037148858463355dca8f224da31835baf153b391eb915adb",
                "sha256:00f0efdd46b5566bfb496445f4afe30532c4259da970f09c713e8965e4388b4e"
            ]
        }
    }