Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about syncing files with Docker volumes #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ Now you can run Audiogram in a container using that image:
docker run -p 8888:8888 -t -i audiogram
```

If you're using an editor like Sublime or Atom and want file changes to be automatically reflected inside the Docker container, try using Docker volumes. Instead of the above `docker run` command, try:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rewrite this slightly? How about:

If you're using Docker to run Audiogram, settings changes you make locally won't automatically show up. One way to resolve this is by using a Docker volume, mounting your local Audiogram directory to the container with a command like:

docker run -v $(pwd):/home/audiogram/audiogram -p 8888:8888 -t -i audiogram

See this issue for more details.


```sh
docker run -v $(pwd):/home/audiogram/audiogram -p 8888:8888 -t -i audiogram
```

## Mac troubleshooting

If things aren't working on a Mac, there are a few fixes you can try.
Expand Down