Skip to content
Dmitri edited this page Dec 6, 2022 · 6 revisions

Local Docker Registry

Run as Process

docker run --rm -ti -p 5000:5000 --name registry registry:2

Run as Daemon

Start container in the background:

docker run -d -p 5000:5000 --name registry registry:2

Stop container and remove all data:

docker container stop registry && docker container rm -v registry

DockerHub

Tag images with latest and push to DockerHub:

docker login -u frequencychain
---
Password: <password>
export tag=v0.9.29;

export docker_repo=frequencychain/instant-seal-node && \
	docker pull $docker_repo:$tag && \
	docker tag $docker_repo:$tag $docker_repo:latest && \
	docker push $docker_repo:latest;

export docker_repo=frequencychain/collator-node-local && \
	docker pull $docker_repo:$tag && \
	docker tag $docker_repo:$tag $docker_repo:latest && \
	docker push $docker_repo:latest;

export docker_repo=frequencychain/parachain-node-rococo && \
	docker pull $docker_repo:$tag && \
	docker tag $docker_repo:$tag $docker_repo:latest && \
	docker push $docker_repo:latest;

export docker_repo=frequencychain/parachain-node-mainnet && \
	docker pull $docker_repo:$tag && \
	docker tag $docker_repo:$tag $docker_repo:latest && \
	docker push $docker_repo:latest;

References: