添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account
  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:
  • Expected behavior

    I tried docker compose down --rmi all --volumes --remove-orphans to remove the volumes defined with docker-compose.yml .

    Actual behavior

    The volumes were not removed.

    As I try docker-compose down --rmi all --volumes --remove-orphans , all the volumes are removed clearly.

    My docker-compose.yml is like below:

    version: "3.8"
    networks:
      app-network:
        driver: bridge
        ipam:
          driver: default
          config:
            - subnet: 172.25.10.0/24
    volumes:
      foo_pgsql:
      bar_pgsql:
      baz_pgsql:
    

    Information

  • macOS Version: 11.3
  • Intel chip or Apple chip: Intel
  • Docker Desktop Version: 3.3.3 (64133)
  • Steps to reproduce the behavior

  • docker compose up with volume-defined docker-compose.yml
  • docker stop with ^C key
  • docker compose down --rmi all --volumes --remove-orphans
  •