Public Repository

Last pushed: 2 months ago
Short Description
A Davos container, brought to you by LinuxServer.io.
Full Description

The LinuxServer.io team brings you another container release featuring easy user mapping and community support. Find us for support at:

  • forum.linuxserver.io
  • IRC on freenode at #linuxserver.io
  • Podcast covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!

linuxserver/davos

davos is an FTP automation tool that periodically scans given host locations for new files. It can be configured for various purposes, including listening for specific files to appear in the host location, ready for it to download and then move, if required. It also supports completion notifications as well as downstream API calls, to further the workflow.

Usage

docker create \
  --name=davos \
  -v <path to data>:/config \
  -v <path to downloads folder>:/download
  -e PGID=<gid> -e PUID=<uid> \
  -p 8080:8080 \
  linuxserver/davos

Parameters

The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.

  • -p 8080 - This is the default port that davos runs under.
  • -v /config - davos's config location. This is where it stores its database file and logs.
  • -e PGID for GroupID - see below for explanation
  • -e PUID for UserID - see below for explanation

It is based on alpine linux with s6 overlay, for shell access whilst the container is running do docker exec -it davos /bin/bash.

User / Group Identifiers

Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.

In this instance PUID=1001 and PGID=1001. To find yours use id user as below:

  $ id <dockeruser>
    uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)

Setting up the application

The application does not require any set up other than starting the docker container. Further documentation can be found on the davos GitHub repository page.

Info

  • Shell access whilst the container is running: docker exec -it davos /bin/bash
  • The main application logs are not output to the docker logs (this is just used for the framework initialisation). To view the logs, run: tail -f <path to data>/logs/davos.log, where <path to data> is the volume you mapped to /config.

  • container version number

docker inspect -f '{{ index .Config.Labels "build_version" }}' davos

  • image version number

docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/davos

Versions

  • 04.04.17: Updated to application version 2.1.2
  • 22.03.17: Updated to application version 2.1.1
  • 14.11.16: Initial creation of documentation
Docker Pull Command
Owner
linuxserver

Comments (1)
phuriousgeorge
9 months ago

Need to fix useage :)

Missing backslash after download
Extra space after PUID:

docker create \
--name=davos \
-v <path to data>:/config \
-v <path to downloads folder>:/download \
-e PGID=<gid> -e PUID=<uid> \
-p 8080:8080 \
linuxserver/davos