Sign inSign up

cubenetwork/cube-client

By cubenetwork

•Updated about 4 years ago

Official golang implementation of the Cube chain.

Image
1

899

cubenetwork/cube-client repository overview

The official docker images of the github.com/cube-network/Cube⁠.

The dockerfile can be found at the root directory of the Cube repository.

Currently we only provide images base on ubuntu:18.04, if you need images base on another platform, you can modify the dockerfile and build it by your self, just as:

docker build -t cubenetwork/cube-client .

For the usage of the images, it's the same as the ethereum/client-go.

The image has the following ports automatically exposed:

  • 8545 TCP, used by the HTTP based JSON RPC API
  • 8546 TCP, used by the WebSocket based JSON RPC API
  • 33688 TCP and UDP, used by the P2P protocol running the network

Note: if you are running an Cube client inside a Docker container, you should mount a data volume as the client’s data directory (located at /root/.ethereum inside the container) to ensure that downloaded data is preserved between restarts and/or container life-cycles.

Updating Cube-client to the latest version simply requires stopping the container, pulling the latest version from Docker and running it:

docker stop cubenetwork/cube-client
docker pull cubenetwork/cube-client:latest
docker run -it -p 33688:33688 cubenetwork/cube-client

Tag summary

Content type

Image

Digest

Size

45.8 MB

Last updated

about 4 years ago

docker pull cubenetwork/cube-client