title: Docker-compose Giving static IP in network mode : bridge
body: <p>i just try to give a static ip 172.17.0.44 to this container , like this way,</p>
  
  <p>but it's not working ,</p>
  
  <p>how to give the static ip address with "network_mode : bridge" </p>
  
  <p>bcoz i need to give 172.17.0 series ip for this container </p>
  
  <p>i'm getting this 172.17.0 series ip when i put network mode bridge</p>
  
  <pre><code>version: '2.1'
  
  services:
  mysql_db:
    image: mysql:latest
    network_mode: bridge
      ipv4_address: 172.17.0.44
    volumes:
      - "./.mysql-data/_data:/var/lib/mysql"
    restart: always
    ports:
      - 8555:8110
    environment:
      MYSQL_ROOT_PASSWORD: rootpass123
      MYSQL_DATABASE: testing
      MYSQL_USER: test
      MYSQL_PASSWORD: test
  </code></pre>
  
  <p>already there is a network with 172.17 series ip , so i'm looking to join the container with that default bridge network and get a static IP</p>