|
|
@ -51,7 +51,7 @@ docker run -it --rm \
|
|
|
|
-v `pwd`:/work \
|
|
|
|
-v `pwd`:/work \
|
|
|
|
-v $HOME/.ssh/id_rsa:/root/.ssh/id_rsa:ro \
|
|
|
|
-v $HOME/.ssh/id_rsa:/root/.ssh/id_rsa:ro \
|
|
|
|
--entrypoint=/bin/sh \
|
|
|
|
--entrypoint=/bin/sh \
|
|
|
|
devture/ansible:2.9.13-r0
|
|
|
|
docker.io/devture/ansible:2.9.14-r0
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
The above command tries to mount an SSH key (`$HOME/.ssh/id_rsa`) into the container (at `/root/.ssh/id_rsa`).
|
|
|
|
The above command tries to mount an SSH key (`$HOME/.ssh/id_rsa`) into the container (at `/root/.ssh/id_rsa`).
|
|
|
|