Skip to content

Commit

Permalink
replace docker hub bloxstaking to ssvlabs (#1655)
Browse files Browse the repository at this point in the history
Co-authored-by: guy muroch <[email protected]>
  • Loading branch information
guym-blox and guy muroch authored Sep 23, 2024
1 parent 0001f2e commit aafa85e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ docker:
.PHONY: docker-image
docker-image:
@echo "node ${NODES_ID}"
@sudo docker rm -f ssv_node && docker run -d --env-file .env --restart unless-stopped --name=ssv_node -p 13000:13000 -p 12000:12000/udp 'bloxstaking/ssv-node:latest' make BUILD_PATH=/go/bin/ssvnode start-node
@sudo docker rm -f ssv_node && docker run -d --env-file .env --restart unless-stopped --name=ssv_node -p 13000:13000 -p 12000:12000/udp 'ssvlabs/ssv-node:latest' make BUILD_PATH=/go/bin/ssvnode start-node

NODES=ssv-node-1 ssv-node-2 ssv-node-3 ssv-node-4
.PHONY: docker-all
Expand Down
10 changes: 5 additions & 5 deletions docs/OPERATOR_GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $ ./install.sh
The following command will generate your operator's public and private keys (appear as "pk" and "sk" in the output).

```
$ docker run --rm -it 'bloxstaking/ssv-node:latest' /go/bin/ssvnode generate-operator-keys
$ docker run --rm -it 'ssvlabs/ssv-node:latest' /go/bin/ssvnode generate-operator-keys
```

### 5. Create a Configuration File
Expand Down Expand Up @@ -153,7 +153,7 @@ Before start, make sure the clock is synced with NTP servers.
Then, run the docker image in the same folder you created the `config.yaml`:
```shell
$ docker run -d --restart unless-stopped --name=ssv_node -e CONFIG_PATH=./config.yaml -p 13001:13001 -p 12001:12001/udp -v $(pwd)/config.yaml:/config.yaml -v $(pwd):/data --log-opt max-size=500m --log-opt max-file=10 -it 'bloxstaking/ssv-node:latest' make BUILD_PATH=/go/bin/ssvnode start-node \
$ docker run -d --restart unless-stopped --name=ssv_node -e CONFIG_PATH=./config.yaml -p 13001:13001 -p 12001:12001/udp -v $(pwd)/config.yaml:/config.yaml -v $(pwd):/data --log-opt max-size=500m --log-opt max-file=10 -it 'ssvlabs/ssv-node:latest' make BUILD_PATH=/go/bin/ssvnode start-node \
&& docker logs ssv_node --follow
```

Expand All @@ -162,13 +162,13 @@ $ docker run -d --restart unless-stopped --name=ssv_node -e CONFIG_PATH=./config
The current version is available through logs or a cmd:

```shell
$ docker run --rm -it 'bloxstaking/ssv-node:latest' /go/bin/ssvnode version
$ docker run --rm -it 'ssvlabs/ssv-node:latest' /go/bin/ssvnode version
```

In order to update, kill running container and pull the latest image or a specific version (`bloxstaking/ssv-node:<version>`)
In order to update, kill running container and pull the latest image or a specific version (`ssvlabs/ssv-node:<version>`)

```shell
$ docker rm -f ssv_node && docker pull bloxstaking/ssv-node:latest
$ docker rm -f ssv_node && docker pull ssvlabs/ssv-node:latest
```

Now run the container again as specified above in step 6.
Expand Down
2 changes: 1 addition & 1 deletion docs/bootnode.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ _Note: This is an example. Replace the placeholders as explained below._
docker rm -f ssv_bootnode && docker run -d --restart unless-stopped --name=ssv_bootnode \
-e CONFIG_PATH=/config.yaml -p 5000:5000 -p 4000:4000/udp \
-v $(pwd)/config.yaml:/config.yaml -v $(pwd):/data -it \
'bloxstaking/ssv-node-unstable:latest' make BUILD_PATH=/go/bin/ssvnode start-boot-node
'ssvlabs/ssv-node-unstable:latest' make BUILD_PATH=/go/bin/ssvnode start-boot-node
```

_Note: `/data` must be a persistent volume to preserve the ENR across restarts!_
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_local_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function create_operators() {
mkdir -p config

for ((i=1;i<=OP_SIZE;i++)); do
docker run --rm -it 'bloxstaking/ssv-node:latest' /go/bin/ssvnode generate-operator-keys > tmp.log
docker run --rm -it 'ssvlabs/ssv-node:latest' /go/bin/ssvnode generate-operator-keys > tmp.log
PUB="$(extract_pubkey "tmp.log")"
val="$PUB" yq e '.publicKeys += [env(val)]' -i "./operators.yaml"
PRIV="$(extract_privkey "tmp.log")"
Expand Down

0 comments on commit aafa85e

Please sign in to comment.