-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
How to run the docker image as a service? #188
Comments
Hey @zblesk . Could you post both the command you ran as well as the output from the shell?
|
Oh, the HTTP service? That's a very good point, I never documented how you actually pass arguments to the Docker version. I'm not at my dev computer at the moment, but I think you should be able to do; If not then you should be able to boot the container into BASH with; Then you can access the Browsh HTTP service locally at |
Thanks. Yes, Perhaps I either didn't describe it well enough, or I misunderstood Browsh's purpose. I wanted to make browsh run automatically on server startup, have it run in the background unattended, and connect via SSH (the way it works with Should I always SSH, then run the docker image, then start browsing? (Tried the other commands @tombh suggested, they don't work ('unknown flag --port').) |
@zblesk |
@zblesk Could you post this to our Gitter getting started room? I should be able to walk you through it when you get a chance. |
Ah I see now. Yeah I think @tobimensch probably has the best idea. The only difference from And do take up @j-rewerts offer! You can have exactly the same setup as |
I successfully ran the Docker image (Ubuntu 18.04 LTS) in interactive mode as described in the docs.
However, I haven't been able to run it as a service and connect to it from outside - I couldn't coax it to keep running as a service, even when I try running it e.g. detached, it never even shows up among running containers.
I only have limited experience with Docker, so maybe I've missed something obvious.
Thanks for any help.
The text was updated successfully, but these errors were encountered: