a8cbc0b048848bef30aa6e978dbd2d471d6bf9cb
compute/docker.md
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | |
| 4 | 4 | # Tricks |
| 5 | 5 | ## ssh |
| 6 | -Images should run as non-root arbitrary users, but that makes anything that uses ssh (like git) a pain in the ass. ssh expects a username for the running UID, which you might not have at runtime. |
|
| 6 | +Docker images should run as non-root arbitrary users, but that makes anything that uses ssh (like git) a pain in the ass. ssh expects a username for the running UID, which you might not have at runtime. |
|
| 7 | 7 | Fake it out and pretend to be root with libuid-wrapper and a homedir that you can create at runtime as the running user: |
| 8 | 8 | ``` |
| 9 | 9 | Dockerfile: |