Skip to content

Commit

Permalink
Use --rm in our magic docker incantation
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Sep 28, 2018
1 parent c5e378c commit 0aa6c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/users/docker_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Docker needs to be able to a few things for ddev to work:

So we can use a single docker command to make sure that docker is set up to do what we want:

**On Windows this command should be run in git-bash (or Docker Quickstart Terminal with Docker Toolbox).** In your project directory run `docker run -t -p 80:80 -v "/$PWD:/tmp/projdir" -v "/$HOME:/tmp/homedir" busybox sh -c "echo ---- Project Directory && ls //tmp/projdir && echo ---- Home Directory && ls //tmp/homedir"` - you should see the contents of your home directory displayed. (On Windows, make sure you do this using git-bash or Docker Quickstart Terminal.)
**On Windows this command should be run in git-bash (or Docker Quickstart Terminal with Docker Toolbox).** In your project directory run `docker run --rm -t -p 80:80 -v "/$PWD:/tmp/projdir" -v "/$HOME:/tmp/homedir" busybox sh -c "echo ---- Project Directory && ls //tmp/projdir && echo ---- Home Directory && ls //tmp/homedir"` - you should see the contents of your home directory displayed. (On Windows, make sure you do this using git-bash or Docker Quickstart Terminal.)

If that fails (if you get an error, or you don't see the contents of your project directory and your home directory) you'll need to troubleshoot:

Expand Down

0 comments on commit 0aa6c63

Please sign in to comment.