diff --git a/run_sdk_container b/run_sdk_container index 465451c4fd..d82331b66c 100755 --- a/run_sdk_container +++ b/run_sdk_container @@ -143,4 +143,7 @@ if [ "$stat" != "Up" ] ; then $docker start "$name" fi +# Workaround: The SDK expects to be able to write to /etc/hosts +$docker exec "$name" sh -c 'cp /etc/hosts /etc/hosts2; umount /etc/hosts ; mv /etc/hosts2 /etc/hosts' + $docker exec $tty -i "$name" /home/sdk/sdk_entry.sh "$@"