docker container ip setting How to setting docker container ip?

root@instance-1:~# lightning-cli getinfo
{
  "id": "0230c8826852e2a39883f36233483419e9c139b644c696b8dbcca38fef7303ee95", 
  "port": 9735, 
  "address": [
  ], 
  "binding": [
    {
      "type": "ipv6", 
      "address": "::", 
      "port": 9735
    }
  ], 
  "version": "v0.5.2-2016-11-21-2725-gb79bb1d", 
  "blockheight": 524318, 
  "network": "bitcoin"
}
root@instance-1:~# docker ps -a
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS              PORTS                                                                
       NAMES
59424f02b9e2        cdecker/lightningd:latest   "/usr/bin/lightningd…"   11 minutes ago      Up 11 minutes                                                                            
       lightning
6d4c7fb6d3e2        dougvk/bitcoind:latest      "/entrypoint.sh bitc…"   23 hours ago        Up 23 hours         0.0.0.0:8333-&gt;8333/tcp, 8332/tcp, 18332-18333/tcp, 0.0.0.0:9735-&gt;9735
/tcp   bitcoind_mainnet
It is part of the basic concept of Docker that Docker assigns an IP address for you to the container.

But maybe this isn't what you are asking?

From what I can see on your screenshot, you have certain port mappings active, as listed under "PORTS". You should be able to access those ports under the IP of your Docker host as Docker will expose those port for you.

In other words: More often than not, you don't care about your container's IP address at all.