The Wayback Machine - https://web.archive.org/web/20200822085040/https://github.com/StackStorm/st2/issues/4988
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

st2ctl in Docker environment #4988

Open
armab opened this issue Jul 9, 2020 · 0 comments
Open

st2ctl in Docker environment #4988

armab opened this issue Jul 9, 2020 · 0 comments

Comments

@armab
Copy link
Member

@armab armab commented Jul 9, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.