无法运行docker容器,因为它在启动后立即退出

我已经构build了容器,但是它在启动后立即退出,下面是docker文件。

FROM resin/rpi-raspbian:latest RUN apt-get -y update && apt-get install -y deluged && apt-get install deluge-web && apt-get install deluge-console VOLUME ["~/.config/deluge", "~/Downloads"] EXPOSE 8080 6881 RUN deluged CMD deluged