docker run, you're running a docker client that lives inside the worker, and this client is connecting to the host system, therefore, if you want to connect from there, your have to expose the redis container to the host.where iso2c IN(:input) where :input is more than one value? Or maybe a better way of asking is what sort of operations do those scripts support, since I've gotten some unexpected behavior out of them once or twice.Caused by: java.net.UnknownHostException: redisdocker runwhere iso2c IN(:input):input conn = redis.Redis(host="redis", port=6379, db=0)
return conn.set("0", "0")docker run --rm \
-e REDIS_HOSTNAME=redis \
-e REDIS_PORT=6379 \
$IMAGE