0
respostas

docker-compose - legacy plugin: plugin not found

Na hora do docker-compose up aparece as seguintes mensagens:

Creating network "aluradockercap06_production-network" with driver "brigde"
legacy plugin: plugin not found

Porém, copiando o código do instrutor na aula, tudo segue normalmente.

Alguém pode me ajudar indicando o motivo desse erro no meu código?

Segue o mesmo abaixo:

version: "3"

services:

  nginx:
    build:
      dockerfile: ./docker/nginx.dockerfile
      context: .
    image: tiagon/nginx
    ports:
     - "8080:80"
    container_name: nginx
    networks:
     - production-network
    depends_on:
     - "node1"
     - "node2"
     - "node3"

  mongodb:
    image: mongo
    container_name: mongo-db
    networks: 
     - production-network

  node1:
    build:
      dockerfile: ./docker/alura-books.dockerfile
      context: .
    image: tiagon/alura-books
    ports:
     - "3000"
    container_name: alura-books-1
    networks: 
     - production-network
    depends_on:
     - "mongodb"

  node2:
    build:
      dockerfile: ./docker/alura-books.dockerfile
      context: .
    image: tiagon/alura-books
    ports:
     - "3000"
    container_name: alura-books-2
    networks: 
     - production-network
    depends_on:
     - "mongodb"

  node3:
    build:
      dockerfile: ./docker/alura-books.dockerfile
      context: .
    image: tiagon/alura-books
    ports:
     - "3000"
    container_name: alura-books-3
    networks: 
     - production-network
    depends_on:
     - "mongodb"


networks:
  production-network:
    driver: brigde