Giter Site home page Giter Site logo

dockerfiles's Introduction

UNMAINTAINED

This repository is no longer maintained. Some of the Dockerfiles here are now maintained in their own repository.

dockerfiles's People

Contributors

aostanin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dockerfiles's Issues

Update Btsync

Please rerun a build so we can get the latest version of btsync.

NZBGet could use Python and unzip support

I'm currently evaluating NZBGet on my Synology. Now that I'm playing around with extension scripts, I found that many of them are written in Python (2.x) which isn't installed in this Dockerfile. Also, I can't even write a simple script to unzip zipped NZBs because there's no unzip or a full 7za installation (7zr/p7zip doesn't support zip files.).

Deluge (at least) can't be a managed service because of broken signal handling

The start.sh script for (at least) deluge doesn't use exec to spawn its process. This is a Dockerfile best practice for custom entrypoints because it means the docker run invocation will correctly forward signals to the underlying command.

The result is that, for example, running this container as a systemd service, and issuing systemctl stop, does not behave correctly. The TERM sent by systemd is ignored and the container does not stop.

This may not be as easy as prefixing the deluge-web command with exec since the entrypoint also starts the deluge daemon. It may be required to bring in something like supervisord to run the daemon and web clients under a parent process, which can either be the entrypoint itself or be (the only thing) invoked in the entrypoint with exec.

Here's a more specific bug report about how this plays out under systemd:

Setup

Have the following systemd unit definition loaded as docker-deluge.service

[Unit]
Description=Deluge
Requires=docker.service
After=docker.service

[Service]
TimeoutStartSec=0
Restart=always
ExecStartPre=-/usr/bin/docker stop deluge
ExecStartPre=-/usr/bin/docker rm deluge
ExecStartPre=/usr/bin/docker pull aostanin/deluge
ExecStart=/usr/bin/docker run --name deluge \
  --publish 8112:8112 \
  --publish 58846:58846 \
  --volume /mnt/media:/media \
  --volume /data/deluge:/data \
  aostanin/deluge

[Install]
WantedBy=multi-user.target

Steps

systemctl start docker-deluge
systemctl stop docker-deluge

Expected result

The service and container should stop.

Actual result

The systemctl stop takes a long time before returning. The docker container is still running and can only be stopped with docker kill (or docker stop because it eventually times out and issues kill's behavior).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.