Access docker container files?

how to docker run to a specific container? using the container id?

e.g below:

[CODE]

docker run -ti -v $(pwd):/mnt “container id without the quotes” ubuntu bash

[/CODE]

or

[CODE]

docker run -ti -v $(pwd):/mnt ubuntu bash “container id here without the quotes”

[/CODE]

can i use bin/bash to shell the volume?

after i make changes to the file, it will automatically rewrites or make changes to the main container file directory folder?