Skip to content

Docker Light Node fails to start second time and Docker Docs Are Incorrect for Start #1228

@keyneom

Description

@keyneom

The example command for starting the node is the same as what is used to init as seen here:

https://docs.celestia.org/nodes/docker-images#start-the-node

Additionally, you can just start the node to begin with and it will run the init anyways, perhaps the current process is just to simplify keeping track of the address and mnemonic.

The first time the docker container is started and running it appears to function properly, but once stopped if you try to restart the container or create a new container referencing the same volume the client complains about permissions on the file.

2023-10-31 13:03:32 Error: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".ConstructModule.Listen.func2 (/src/nodebuilder/p2p/addrs.go:14): failed to build host.Host: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".routedHost (/src/nodebuilder/p2p/host.go:38): failed to build p2p.HostBase: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".host (/src/nodebuilder/p2p/host.go:43): failed to build peer.ID: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".id (/src/nodebuilder/p2p/identity.go:45): failed to build crypto.PrivKey: received non-nil error from function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".Key (/src/nodebuilder/p2p/identity.go:17): keystore: permissions of key 'p2p-key' are too relaxed: required: 0600, got: 0777

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions