DRYな備忘録

Don't Repeat Yourself.

linux

scpできなくて私もハマった

問題 scpがエラー無く終わるが、何も転送されていない % scp otiai10@foobar.com:~/test.txt ~/ Enter passphrase for key '/User/otiai10/.ssh/foobar': foobar % % ls -la | grep test.txt % # ← あれーん? tl;dr, 解決 リモート側の.bashrcでログイン時…

Linuxサーバ上でdocker-composeを使う

ゴール MacOSXで、docker-machineでvirtualbox VMをつくって、そこをdockerホストとして、docker-composeを使って複数種類のコンテナをオーケストレーションしている じゃあ、もともとdockerが使える環境にしているLinuxで、docker-composeを使って複数種類…