A worker model of type docker
can be spawned by a Hatchery Docker Swarm or a Hatchery Kubernetes.
Docker Image golang:1.10 have a “curl” in $PATH, so it can be used as it is.
main shell command
(main shell command is the command which accept a command to execute, for example sh -c "echo CDS"
, here sh -c
is the main shell command)If you want to specify an image using a private registry or a private image. You need to check the private checkbox and fill credentials in username and password to access to your image. And if your image is not on docker hub but from a private registry you need to fill the registry info (the registry api url, for example for docker hub it’s https://index.docker.io/v1/ but we fill it by default).
This hatchery offers some features on job pre-requisites, usable only on user’s hatchery (ie. not a shared.infra hatchery).
--port=8080:8081/tcp --port=9080:9081/tcp
--privileged
--add-host=aaa:1.2.3.4 --add-host=bbb:5.6.7.8
--port=8080:8081/tcp --privileged --port=9080:9081/tcp --add-host=aaa:1.2.3.4 --add-host=bbb:5.6.7.8