• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Issue Docker network issue

wemrekurt

New Pleskian
Server operating system version
Centos 7
Plesk version and microupdate number
18
Hello everyone,
I'm working with docker containers. In total, there are 33 containers running websites. They all run on different ports. Connected to domain names with proxy rules. I started getting the following error when I ran docker-compose run app xxx
Code:
ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

Here is my docker-compose.yml file
YAML:
version: '3.1'

services:
  app:
    container_name: ${APP_NAME}_app
    build:
      context: .
      dockerfile: ./docker/app/Dockerfile
      args:
        - APP_NAME=${APP_NAME}

    volumes:
      - /var/www/master.key:/var/www/${APP_NAME}/config/master.key
      - /etc/nginx/conf.d/sockets:/var/www/${APP_NAME}/tmp/sockets
      - ./cache:/var/www/${APP_NAME}/cache
      - ../public:/var/www/${APP_NAME}/public
      - ../logs:/var/www/${APP_NAME}/log
      - ../themes/node_modules:/var/www/${APP_NAME}/node_modules

    environment:
      - APP_NAME=${APP_NAME}
      - DATABASE_HOST=${DATABASE_HOST}
      - DOMAIN_NAME=${DOMAIN_NAME}
      - E_TICARET_DATABASE=${E_TICARET_DATABASE}
      - E_TICARET_DATABASE_USERNAME=${E_TICARET_DATABASE_USERNAME}
      - E_TICARET_DATABASE_PASSWORD=${E_TICARET_DATABASE_PASSWORD}
      - ELASTICSEARCH_URL=${ELASTICSEARCH_URL}
      - RAILS_SERVE_STATIC_FILES=${RAILS_SERVE_STATIC_FILES}
    ports:
      - ${APP_PORT}:3000
    restart: always

Also I tried the create subnet network.

YAML:
networks:
  default:
    driver: bridge
    ipam:
      config:
        - subnet: 10.10.1.0/24

It works like this but when i want to run new container with same subnet I get this error;

Code:
ERROR: Pool overlaps with other one on this address space

Can anyone help?
 
Back
Top