-
Notifications
You must be signed in to change notification settings - Fork 32
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
Running Torus inside docker container #259
Comments
It looks like the Torus daemon is stopping and starting, losing the login session. Is it possible that the daemon and cli versions don't line up? Relevant Issue: #257 |
Thanks for this @ianlivingstone, I checked the CLI and daemon versions and they were both at I have found a temporary solution however. I was using the compact Alpine linux distro as my base image. When switching to the non-Alpine image (Ubuntu I think) it seems to run the daemon just fine. This change has increased the image size by 500% so it's not ideal. The image readme suggests the following which may be relevant...
Does |
Nope! but in this case, it does need system ca certificates, which is why it was failing for you. A quick workaround would be to There are two bugs here though that should be fixed:
|
Thanks @jbowes - sadly adding |
I'm trying to
torus run
inside a Docker container. Confusingly it has worked once and otherwise failed without any changes to the code/setup. The error I get back changes between runs too so I suspect there might be a race condition.The error tends to be one of the following... (the first is the most common)
Have I installed Torus into the container correctly? The Dockerfile I'm using looks something like this...
...and the
docker run
command looks something like this...Do you expect
torus run
should work in a containerised environment? Looking at the docs it seems torus machines are ideal for this use case.torus -v
torus debug
~/.torus/daemon.logs
The text was updated successfully, but these errors were encountered: