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

Support running nodes using Docker #153

Open
LuttyYang opened this issue Sep 27, 2024 · 1 comment
Open

Support running nodes using Docker #153

LuttyYang opened this issue Sep 27, 2024 · 1 comment

Comments

@LuttyYang
Copy link
Collaborator

LuttyYang commented Sep 27, 2024

Support running nodes using Docker:

  1. Coinbase requires the RPC node to run using Docker:
    Please ensure that your Dockerfile and related files such as entrypoint.sh:

    • Are contained within a single Dockerfile
    • Can be built and run on both Linux/Unix and macOS
    • Use Ubuntu:20+ other than Alpine or Debian as the base image
    • Support both testnet and mainnet deployment
    • Provide a method to sync from snapshots in both testnet and mainnet (optional for day 1 asset)
    • The node cannot prune data after deployment
  2. Developers can use Docker to run localnet for easier testing and development.

@bert2002
Copy link

Hi,
was looking for a docker image for story and story-geth. I see the PR and see the approach. I think its nice to have the configurations for a local devnet, but a docker image actually should not have any configuration files, etc.
Just a slim container with the binaries and running as a non-root user is perfect. Everything else should be read from environment or configurations mapped into the container.
This keeps the image usable for different networks and decreases the management for your team and dont need to release new images if a configuration needs to be fixed, which will confuse other teams.

bert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants