Skip to content

NikitaMasych/sha256-parcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Computing Lab

SHA256 with PARCS.

Docker Image

Authenticate with DockerHub:

docker login

Build:

docker buildx build --platform=linux/amd64 -t nikitamasych/sha256-runner-parcs:latest ./runner
docker buildx build --platform=linux/amd64 -t nikitamasych/sha256-service-parcs:latest ./service

Push:

docker push nikitamasych/sha256-runner-parcs:latest
docker push nikitamasych/sha256-service-parcs:latest

Or combined:

docker buildx build --platform=linux/amd64 -t nikitamasych/sha256-runner-parcs:latest --push ./runner
docker buildx build --platform=linux/amd64 -t nikitamasych/sha256-service-parcs:latest --push ./service

Launch in PARCS

gcloud compute ssh leader

sudo docker service create \
    --name runner \
    --network parcs \
    --restart-condition none \
    --env LEADER_URL=tcp://10.186.0.7:4321 \
    --env WORKERS=2 \
    --env SIZE=1048576 \
    --env SERVICE_IMAGE=nikitamasych/sha256-service-parcs:latest \
    nikitamasych/sha256-runner-parcs:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks