2014-06-03 08:27:47 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
CID=$(docker run -d --privileged gdm85/gitian-bitcoin-host) || exit $?
|
|
|
|
IP=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' $CID) || exit $?
|
|
|
|
|
|
|
|
echo "You can now SSH into container $CID:"
|
2014-06-06 10:17:13 +00:00
|
|
|
echo "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no debian@$IP"
|