Created
February 26, 2023 17:32
-
-
Save avoidwork/001d8a8188eed63e906262dcb7275b29 to your computer and use it in GitHub Desktop.
Docker volume with bind to folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker volume create --driver local \ | |
--opt type=none \ | |
--opt device=/home/user/test \ | |
--opt o=bind \ | |
test_vol |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment