-
Notifications
You must be signed in to change notification settings - Fork 219
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
Write a script that runs the node from the docker image #1430
Comments
What the link from quay.io ? |
@Krakaw can likely help you out, since he's done some work on this |
so the script to push to quay is not created yet? |
@CjS77 / @leet4tari can you add the build triggers on quay.io so that the image is built on push to development / tags. That'll effectively solve #1429 Once we have images building on push (with the latest code) we'll have a good starting point. For the docker-compose.yml you could add a volume mount to the host directory, and use the script to create the dir first if doesn't exist. volumes:
- "$HOME/.tari:/root/.tari" Something I noticed not on the |
so:
|
docker pull quay.io/tarilabs/tari_base_node |
docker not working with docker run -ti quay.io/tarilabs/tari_base_node
|
compiling from scratch works like a charm
|
maybe it's the latest one that is weird, trying the other one |
nope ...
|
@CjS77 / @leet4tari c
Please enable the github push(es) so it gets the latest from the dev branch |
The build triggers have been added, but quay.io has been having issues the last couple of days. Hopefully after a manual re-trigger we'll have working images. |
Setup the quay.io repo - https://quay.io/repository/tarilabs/tari_base_node with hooks into https://github.com/tari-project/tari ... New pushs into Setup a basic docker-compose.yml
Pulls our image, start tor and then tari_base_node, but ends shortly after with
|
Worried about the wrong version number, in this release, need to investigate? |
This is because it needs an interactive tty. Your docker-compose.yml needs version: "3"
services:
tari_base_node:
image: quay.io/tarilabs/tari_base_node:v0.2.6
restart: unless-stopped
volumes:
- ./data:/root/.tari
# These 2 params are required for an interactive docker-compose session
stdin_open: true
tty: true |
Just a collection of notes for docker image docker-compose.yaml
then run docker-compose up -d Using
But run into the dreaded |
Two quay builds running with workaround:
Using branch - https://github.com/tari-project/tari/tree/croaring-remove-march-native Working on a long term fix that support easier cross-platform building |
This is implemented in https://github.com/tari-project/tari-launchpad |
Write a bash script for either OsX or Linux that:
latest
points to the most recent. See Add CircleCI / Github action that pushes docker images to quay.io #1429)~/.tari
and mounted as a volume on the docker container.The text was updated successfully, but these errors were encountered: