StackStorm/st2

st2ctl in Docker environment

Open

#4.988 geöffnet am 9. Juli 2020

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (740 Forks)batch import
Dockerenhancementgood first issuehelp wanted

Repository-Metriken

Stars
 (5.794 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

st2ctl assumes it's running in a VM environment and wasn't designed to be executed inside the Docker. We'll need to improve that.

Because listing processes or starting services is not viable in a Docker environment, where each service runs in its own Docker container, st2ctl needs a simple modification so it doesn't try to query list of processes but instead suggest to use Docker cmd.

Example commands which don't work in Docker environment:

  • st2ctl status
  • st2ctl stop
  • st2ctl start
  • st2ctl restart
  • st2ctl restart-component
  • st2ctl reopen-log-files
  • st2ctl reload lists running processes as well

Contributor Guide