diff --git a/README.md b/README.md index ab48656..a3ace9a 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,27 @@ md2csv https://raw.githubusercontent.com/cabforum/documents/master/docs/BR.md ht Using [pdf2md](http://pdf2md.morethan.io/) you can convert a PDF document to Markdown so that you can use it with `md2csv`. + ## Using Docker + +### Downloading the docker image +```bash +docker pull digitorus/md2csv +``` + +### Running the docker image ```bash docker run -ti digitorus/md2csv sh ``` -After this you can use the `md2csv` command from above. + +### Running the command +The above command will open a shell in the Docker container. To execute the command `md2csv`, use `./` before the command as following: +```bash +./md2csv {url|filename} +``` + +### Copying files to/from Docker image +The subject file from your local/host filesystem needs to be copied to the docker filesystem to execute the above command.For this purpose, `docker cp` command can be used. `Docker cp --help` can be used to get more information about the command. ## Reconnect Docker image ```bash