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

doc: Explain how to use a persistent state disk with Docker #8023

Closed
teor2345 opened this issue Nov 28, 2023 · 2 comments · Fixed by #8215
Closed

doc: Explain how to use a persistent state disk with Docker #8023

teor2345 opened this issue Nov 28, 2023 · 2 comments · Fixed by #8215
Assignees
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles A-docs Area: Documentation C-enhancement Category: This is an improvement I-usability Zebra is hard to understand or use S-needs-triage Status: A bug report needs triage

Comments

@teor2345
Copy link
Contributor

teor2345 commented Nov 28, 2023

Motivation

A user was surprised when their Docker run stopped and they couldn't find Zebra's state:

Hi guys, do you know how can I resume Zebrad's sync? I've installed it trough docker and stopped at block 550000. But now I can't find Zebra's files/folders.

https://discord.com/channels/809218587167293450/809251029673312267/1179106203868090378

It would be helpful to tell users how to set up a persistent state disk in the Docker guide:
https://github.com/ZcashFoundation/zebra/blob/main/book/src/user/docker.md

If we're going to change any configured paths inside the Docker image, we might want to do that first.

Specifications

https://docs.docker.com/storage/volumes/

Complex Code or Requirements

No response

Testing

Manually run the commands and check that the state is persistent.

Related Work

No response

@teor2345 teor2345 added A-docs Area: Documentation A-devops Area: Pipelines, CI/CD and Dockerfiles C-enhancement Category: This is an improvement S-needs-triage Status: A bug report needs triage P-Medium ⚡ I-usability Zebra is hard to understand or use labels Nov 28, 2023
@mpguerra mpguerra added this to Zebra Nov 28, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Zebra Nov 28, 2023
@gustavovalverde
Copy link
Member

gustavovalverde commented Nov 30, 2023

@mpguerra this is what we talked about recently. So it might seem as we'll have to schedule it for next sprint, alongside:

As all these will require a similar work.

* It seems #4464 and #7534 are basically the same.

@mpguerra
Copy link
Contributor

mpguerra commented Dec 5, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles A-docs Area: Documentation C-enhancement Category: This is an improvement I-usability Zebra is hard to understand or use S-needs-triage Status: A bug report needs triage
Projects
Status: Done
3 participants