Skip to content

There is a wrong in 【Start a container with a volume】section #21842

Open
@NanjingThunderKing

Description

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

I'm using Docker Desktop on macOS.
The document says 【You can't run them both unless you remove the devtest container and the myvol2 volume after running the first one.】.
However, in practice, after running the 【--mount】 command, I only need to remove the devtest container without removing the myvol2 volume, and then I can successfully run the 【-v】 command.

Image

Location

https://docs.docker.com/engine/storage/volumes/

Suggestion

No response

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions