Skip to content

Commit

Permalink
Updated README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
DirkMeihoefer committed Apr 14, 2021
1 parent d38140c commit 03e4c6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ The working directory inside the container defaults to `/compose`
To execute the up command directly from the host system cd into the directory containing the docker-compose.yml and enter:
```
docker run --rm -t \
--privileged \
-v $(pwd):/compose \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/bin/docker:/usr/bin/docker \
Expand All @@ -12,6 +13,7 @@ wagoautomation/docker-compose -f docker-compose.yml up
For convinience you could create a permanent alias by adding following line in ~.profile in your host system:
```
alias docker-compose='docker run --rm -t \
--privileged \
-v $(pwd):/compose \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/bin/docker:/usr/bin/docker \
Expand Down

0 comments on commit 03e4c6d

Please sign in to comment.