Dockerfile
in it with the following contents:
-v
flag followed by the path to the directory on your host machine, a colon, and then the path where you want to mount the directory in the container.
/path/on/your/host
with the path to the directory on your host machine that you want to mount, and replace /path/in/the/container
with the path in the Docker container where you want to mount the directory.
Here’s a simple example:
$(pwd)
is your current directory, and it is mounted to a /files
directory in the Docker container (this creates that folder too).
interpreter
. For example, to run the interpreter with custom instructions, run the following command:
--config
will not work, because it cannot open the config file in the container. If you want to use a config file other than the default, you can create a config.yml
file inside of the same directory, add your custom config, and then run the following command: