tighten / takeout

Docker-based development-only dependency manager. macOS, Linux, and WSL2-only and installs via PHP's Composer... for now.
MIT License
1.59k stars 83 forks source link

Network Warning #255

Closed wit3 closed 2 years ago

wit3 commented 2 years ago

From last week, every command in my laravel application ( artisan or composer ) generate 3 row Warning in console.

WARN[0000] network takeout: network.external.name is deprecated in favor of network.name WARN[0000] network takeout: network.external.name is deprecated in favor of network.name WARN[0000] network takeout: network.external.name is deprecated in favor of network.name

That's fault of any update of docker?

wit3 commented 2 years ago

Close the issue because the warning was printed by docker deprecated property when implementing takeout as network in laravel sail docker-composer.yml.

For anyone with this problem, rename in docker-compose.yml this

networks:
    sail:
        driver: bridge
    takeout:
        name: takeout
            name: takeout

to this

networks:
    sail:
        driver: bridge
    takeout:
        name: takeout