Skip to content

FEATURE: h8 set command — toggle container entrypoint #10

Description

@erfanium

Problem

No CLI command to change the container entrypoint. Needed for:

  • Debug mode: h8 set command myapp "sleep 3600" to keep container alive for exec
  • Restore: h8 set command myapp --reset to go back to Docker entrypoint

Workaround

Raw API call:

curl -X PUT .../apps/xxx/ -d '{"command":"sleep 3600"}'

But this requires also including subdomain, SSL, disk, and envs to avoid wiping them (see #8).

Proposal

h8 set command myapp "sleep 3600"     # override entrypoint
h8 set command myapp --reset            # back to Docker default

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions