mount

Docker Volumes | Use Local Folders and Directories

0:00
↔️ ↕️

Timecodes:

hey what's going on so you have a local

folder or directory and you want to put

it inside your docker container well

let's go see how we can do that all

right let's say you have a folder

and it's full a bunch of configuration

files like you have config.json

or you have a dot env file

or you have some kind of

log file and you want to get all that

stuff

inside of your little run your docker

container that you're going to start up

fortunately there's a very simple

command

it's docker

run

dash v for volume and your local folder

or directory

and then colon and where you want the

mount points


Related queries:


how to mount folder in docker container
how to mount shared folder in docker
how to mount folder to running docker container
how to mount path in linux
how to mount a directory in docker
how to mount in docker