## Contract account can opt-in asset?

**Mar 5, 2021**  
The name of the container indeed changed with the new sandbox version. It is now `algorand-sandbox-algod`. If you want to compile the program `example.teal` that is in your folder outside of the sandbox into `example.teal.tok`, you do:

Copy `example.teal` to the sandbox:

```
$ docker cp example.teal algora…
```

---

## Is possible to compile a smart contract (teal program) using docker sandbox? Or i need to run a node?

**Mar 5, 2021**  
You need to specify algod, indexer or indexerdb. Run `./sandbox` and you will see the options. To enter the algod sandbox, type `./sandbox enter algod`

---

## Error starting kmd (kmd data dir not secure)

**Dec 10, 2020**  
kmd on sandbox should start automatically. Run `./sandbox test` and you should see:

```
Test KMD REST API…
~$ curl localhost:4002/v1/wallets -H "X-KMD-API-Token: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
{}
```

---

How did you create the data dir? It looks like the wrong permissions on the directory.
