mirror of
https://github.com/luzifer-ansible/docker-compose.git
synced 2024-11-08 13:39:59 +00:00
Use root credentials as fallback if no home is specified
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
11da5c304b
commit
094b266319
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
exec docker run --rm -i \
|
||||
-v "/var/run/docker.sock:/var/run/docker.sock" \
|
||||
-v "${HOME}/.docker:/root/.docker:ro" \
|
||||
-v "${HOME:-/root}/.docker:/root/.docker:ro" \
|
||||
-v "$(pwd):$(pwd):ro" \
|
||||
-w "$(pwd)" \
|
||||
luzifer/docker-compose \
|
||||
|
|
Loading…
Reference in a new issue