Comments (2)
Hi there, @virtualmotion !
Which image, specifically, are you having trouble with? Can you share the exact command you're using to run it?
I tried the following:
inovakov ~ % docker run -d -e SIA_DATA_DIR=/new-sia-data-dir -e SIAD_DATA_DIR=/new-siad-data-dir -e SIA_API_PASSWORD=lalala -e SIA_WALLET_PASSWORD=MyWalPass nebulouslabs/sia:latest
784c85a4f652b69543a19435594a762e78c295ce28f10578cb558301198d674f
inovakov ~ % docker exec 784 env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=784c85a4f652
SIA_DATA_DIR=/new-sia-data-dir
SIAD_DATA_DIR=/new-siad-data-dir
SIA_API_PASSWORD=lalala
SIA_WALLET_PASSWORD=MyWalPass
SIA_MODULES=gctwhr
HOME=/root
As you can see from the output, the extra environment variables were correctly registered in the container's environment. I also ran a custom image with a modified run.sh
that prints the environment right before launching siad
and that had similar output.
from docker-sia.
Thank you @ro-tex . Upon digging deeper, I had used a password generator for my wallet password -- which had included the symbol '$'. It seems environment variables either don't like that very much or docker doesn't like it. After revising the password to not have a dollar sign, it seems to work.
from docker-sia.
Related Issues (20)
- Support more architectures HOT 7
- Option flags to siad
- Add a SiaStream image HOT 2
- Capture siad's logs HOT 3
- Container crashes HOT 2
- siad becomes unreachable if socat dies HOT 3
- Explicitly set the maximum allowed number of open file descriptors HOT 2
- Support for dev image HOT 2
- SIA_WALLET_PASSWORD via docker secret HOT 1
- Dockerfile doesn't upgrade to latest version 1.5.1 HOT 1
- Error while building docker image HOT 2
- Possibility to have the consensus in another volume HOT 2
- Ensure a graceful shutdown of the containers
- Siad has exited unexpectedly. Error Log HOT 1
- Switch from shell to exec `ENTRYPOINT`
- Error Running Docker
- Sia docker daemon error: | could not unmarshal hash: encoding/hex: invalid byte: U+0060 '`'
- Server is unable to create the Sia node HOT 2
- Utilise the upcoming SIAD_DATA_DIR env var HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-sia.