Skip to content

Support attach cmd with podman runtime #110

@hidalgopl

Description

@hidalgopl

Currently /rest/v1/attach endpoint will return server error while running itzo with podman as container runtime.

To run itzo with podman, you should run in GCE and add this to your provider config:

bootImageSpec:
    project: "elotl-kip"
    image: "elotl-kipdev-podman"

and

cellConfig:
    itzoFlag-use-podman: true

you can also write e2e tests and run them locally - check server_podman_test.go

I suggest to add Attach() method to runtime/runtime.go RuntimeService interface, and refactor serveAttach handler to call s.podCtl.runtime.Attach(). This would probably require moving current exec implementation for itzo behind this new interface method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions