Skip to content

Issues regarding system containers not using runc #42

@yuqi-zhang

Description

@yuqi-zhang

Some considerations came up from the azure container, which uses systemd but not runc. If we run this container from the atomic CLI, there are a few issues I noticed:

  1. We generate a default config.json for a container image missing a config.json.template. For containers that don't use runc, should we somehow check that and not generate that file?

  2. In follow up to 1, I recall that we use the file at /run/runc/container/state.json for some things before, would that be affected?

  3. In the info file, we still have:
    "EXEC_START": "/bin/runc run 'azure'"
    "EXEC_STOP": "/bin/runc kill 'azure'"
    which doesn't match up to the service file

Perhaps I'm misunderstanding the method of running said containers and we shouldn't be using the atomic CLI. What do you think @giuseppe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions