A worker model of type
docker can be spawned by a Hatchery Docker Swarm or a Hatchery Marathon.
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 -cis 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 --privileged --port=9080:9081/tcp --add-host=aaa:126.96.36.199 --add-host=bbb:188.8.131.52