diff options
author | Jason Roehm <jasonr@3db-labs.com> | 2016-04-27 04:41:52 +0300 |
---|---|---|
committer | Jason Roehm <jasonr@3db-labs.com> | 2016-04-27 04:41:52 +0300 |
commit | 0ace42cdb90161ee7daf69b7a6a7af6ce4195208 (patch) | |
tree | 6c77e33d60b90c0397204e47ce59d98979564a71 /doc | |
parent | c01ff1f54b55a60f7c7473d0d8a429d5cf9c1609 (diff) |
fix: in recent versions of Docker, the /.dockerinit file doesn't exist; use /.dockerenv instead [ci skip]
Signed-off-by: Jason Roehm <jasonr@3db-labs.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/ssh_keys/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ci/ssh_keys/README.md b/doc/ci/ssh_keys/README.md index 7f825e6a065..7c0fb225dac 100644 --- a/doc/ci/ssh_keys/README.md +++ b/doc/ci/ssh_keys/README.md @@ -57,7 +57,7 @@ before_script: # WARNING: Use this only with the Docker executor, if you use it with shell # you will overwrite your user's SSH config. - mkdir -p ~/.ssh - - '[[ -f /.dockerinit ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' + - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' ``` As a final step, add the _public_ key from the one you created earlier to the |