Permission denied mounting a volume via docker run in a NON existing folder in the host #19934
Open
1 task done
Labels
area/engine
Issue affects Docker engine/daemon
area/storage
Relates to storage, volumes
lifecycle/frozen
Is this a docs issue?
Type of issue
Information is incorrect
Description
In the documentation is indicated
docker run -v /doesnt/exist:/foo -w /foo -i -t ubuntu bash
I get an error
It's truth that
ls
to check --docker ps --all
--👁️ but the command itself passed --
docker run ... bash
-- has failed 👁️Notes:
Location
https://docs.docker.com/reference/cli/docker/container/run/#volume
Suggestion
The text was updated successfully, but these errors were encountered: