|
|
@ -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 \
|
|
|
|
docker.io/devture/ansible:2.10.7-r0
|
|
|
|
docker.io/devture/ansible:2.11.6-r1
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
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`).
|
|
|
|