What error do you get?
Inside sandbox, with ./sandbox enter
, I can do:
algorand@1116903d7142:/opt/algorand/node$ echo "// simple.teal
// Do not use this in a real application
int 0" > simple.teal
algorand@1116903d7142:/opt/algorand/node$ goal clerk compile simple.teal
simple.teal: KI4DJG2OOFJGUERJGSWCYGFZWDNEU2KWTU56VRJHITP62PLJ5VYMBFDBFE
algorand@1116903d7142:/opt/algorand/node$ ls simple.teal*
simple.teal simple.teal.tok
You can transfer files between sandbox and the outside as follows:
docker cp sandbox:/opt/algorand/node/simple.teal.tok simple.teal.tok