Q: How do I run my code in docker?

Run docker with mounting the directory containing your code, see installation for one example. You can cd there, edit and run your code within the container.