Failed to create folder in docker

  • Problem Description

    mkdir: cannot create directory ‘test’: No such file or directory

  • solution

    The root of the problem is that the testfolder is created dataunder the folder, the datafolder is dockerinside, and the folder is mounted outside the container, because the folder used for mounting outside the container is deleted, so it is created in the data inside the container The folder always fails.

Guess you like

Origin blog.csdn.net/The_Time_Runner/article/details/109230469