Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.06 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.06 KB

Docker

Download and install

You can download and install Docker on multiple platforms. Refer to the following section and choose the best installation path for you.

Build image

docker build -f docker/Dockerfile -t myoconverter:latest .

Run container

docker run --rm -it --name myodocker myoconverter:latest bash

When the container is started the mamba environment "myoconverter" is activated.
Your prompt should look like this:

(myoconverter) appuser@...:/app$

Read and write files on host machine

By default all data is stored in the container. To read and write files on the host machine it's recommended to use bind mounts or volumes. See Storage.

$ docker run --rm -it --name myodocker \
--mount type=bind,src=/path/to/data,target=/app/data \
myoconverter:latest bash
$ docker volume create myvol
$ docker run --rm -it --name myodocker \
--mount type=volume,src=myvol,target=/app/data \
myoconverter:latest bash