Hi Johnny, Just add the option at the docker start cmd : `--add-host=HOSTNAME:10.x.x.x`
> 2021年5月5日 下午5:37,Johnny Yang <[email protected]> 写道: > > Hello > > I want to use drill in container to get data from get api. > > The target ip is 10.x.x.x. > > In the console, I saw error message which said hostname not verify. > > I can ping target in the container and use curl to get data from api. > > I search from google. > > Some people met this problem. > > They change source code to make verify function return true. > > it means i need to build source code and put into docker container. > > Is there another solution? > > Many thanks > > Johnny
