Skip to content

Test: postStartCommand and postAttachCommand properties #3051

@chrmarti

Description

@chrmarti

Refs: #2772

Complexity: 4

Create Issue


  • The postStartCommand and postAttachCommand properties can be used in 4 different cases (see instructions):
    • Single container.
    • Single container from Git repository.
    • Docker Compose.
    • Attach to existing container (postAttachCommand only).
  • Verify postStartCommand is only run when the container was (re)started. Note that by default the container is stopped after the last window disconnected (not in the 'attach' case), but only after 10 seconds (to speed up window reloads).
  • Verify postAttachCommand is always run when the window connects (aka 'attaches') in all 4 above cases.
  • The property value can be a string or an array of strings. A string is run in a /bin/sh, an array is run as a command with parameters without shell.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions