• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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