Sign inSign up

gmtscience/scitq-worker

By gmtscience

Updated almost 2 years ago

a scitq worker image

Image
0

1.2K

gmtscience/scitq-worker repository overview

Minimal usage

docker run --privileged --rm -d gmtscience/scitq-worker:latest
docker run -v /tmp:/scratch -v /tmp:/var/lib/docker -e NAME=node1  -e SCITQ_SERVER=$SCITQ_SERVER --privileged -d gmtscience/scitq-worker:latest

You can mount also /etc/scitq-worker.conf notably to provide Azure storage identifyers, and /root/.aws for AWS S3 storage identifyers.

dind or dood ?

See https://shisho.dev/blog/posts/docker-in-docker/ for instance.

dind is recommended as it isolate worker dockers from general dockers in your setup, and it has been tested and validated.

dood does not work at this time. It should work also but it get stuck when docker attach instruction is launched within python code: FYI, the command used in dood mode should be (BUT THIS DOES NOT WORK):

docker run -v /var/run/docker.sock:/var/run/docker.sock --rm -it --entrypoint 'scitq-worker' scitq-worker:1.0b19 host.docker.internal 1

Tag summary

Content type

Image

Digest

sha256:a9512bb68

Size

430.4 MB

Last updated

almost 2 years ago

docker pull gmtscience/scitq-worker