Improve the usage of docker_host configuration
#260
Reference in New Issue
Block a user
Delete Branch "refs/pull/260/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow #242, #244
Fixes #258
Users could use
docker_hostconfiguration to specify which docker daemon will be used by act_runner.docker_hostis empty, act_runner will find an available docker host automatically.docker_hostis "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers.docker_hostis not empty or "-", the specified docker host will be used. An error will be returned if it doesn't work.LGTM, just some a problem about code style.
The functions body code smells bad.
Please change it to
fixed in
ba20ddb2f7