when I try and start a docker container with volume attached to the local working directory, it doesn't work. Here is the command I'm using"
docker run -v .:/app image_name rails s
CodePudding user response:
Use this command
docker run -v $(pwd):/app image_name rails s