https://github.com/gschlager/docker-slrnpull
  
  
    Docker image for slrnpull 
    https://github.com/gschlager/docker-slrnpull
  
docker-image slrnpull
        Last synced: 7 months ago 
        JSON representation
    
Docker image for slrnpull
- Host: GitHub
- URL: https://github.com/gschlager/docker-slrnpull
- Owner: gschlager
- License: mit
- Created: 2016-10-18T21:01:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-24T19:46:24.000Z (over 8 years ago)
- Last Synced: 2025-02-10T15:50:46.640Z (9 months ago)
- Topics: docker-image, slrnpull
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
README
          # docker-slrnpull
Docker image for slrnpull which is part of the [slrn newsreader](http://slrn.sourceforge.net/).
[](https://microbadger.com/images/gschlager/slrnpull)
## How to use
* Create a directory which will be used as spool directory for slrnpull
  ```bash
  mkdir ~/slrnpull
  ```
* Create a configuration file based on this example [slrnpull.conf](http://slrn.sourceforge.net/docs/slrnpull/slrnpull.conf)
  ```bash
  wget http://slrn.sourceforge.net/docs/slrnpull/slrnpull.conf ~/slrnpull/slrnpull.conf
  ```
* Run *slrnpull* by mounting your spool directory. You find all the supported command line options in [slrnpull's README](http://slrn.sourceforge.net/docs/slrnpull/README)
  ```bash
  docker run -it -v ~/slrnpull:/var/spool/slrnpull gschlager/slrnpull --help
  ```
## Bash script
The following bash script runs slrnpull and uses the current directory as spool directory. It needs to contain the `slrnpull.conf` file.
```bash
#!/bin/bash
docker run -it -v ${PWD}:/var/spool/slrnpull gschlager/slrnpull $@
```
Put the script whereever you want (e.g. `/usr/local/bin/slrnpull`) and make it runable (`chmod +x slrnpull`).